import java.awt.*; import java.awt.event.*; import java.applet.Applet; public class Tilk extends Applet implements MouseListener{ public Tilk(){ addMouseListener(this); } public void mousePressed(MouseEvent e){ int x=e.getX(); int y=e.getY(); double vahe=0.5; Graphics g=this.getGraphics(); for(;y