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