Window
The parent class for all javaDraw programs, the Window class helps to register events and manages program flow.
Last updated
public class Driver extends Window {
public static void main(String[] args) {
Window.open();
}
public void mouseDown(int button, Location location) {}
public void mouseUp(int button, Location location) {}
public void mouseDrag(int button, Location location) {}
public void mouseMove(Location location) {}
public void keyDown(Key key) {}
public void keyUp(Key key) {}
}