A Scribble Example
import java.awt.*; //Import Classes of awt
public class Scribble extends Frame {
private int last_x, last_y; //Last coordinate
public Scribble(String _name) {
super(_name); //To pass the title
// This method gets called each time the user
// clicks on our Scribble-Frame
public boolean mouseDown(Event e, int x, int y) {