4 public class scribble extends Applet {
11 this.setBackground(Color.white);
15 public boolean mouseDown(Event e, int x, int y)
21 public boolean mouseDrag(Event e, int x, int y)
23 Graphics g = getGraphics();
24 g.setColor (Color.black);
25 g.drawLine(last_x,last_y,x,y);