Getting Started
Starter Template and an Example Program for javaDraw
Now that we have javaDraw installed, we can write a base program:
import javadraw.*;
public class Program extends Window {
public static void main(String[] args) {
Window.open();
}
public void start() {
// Code goes here!
}
}Example Program
Now we can go ahead and add some shapes:
And it should produce the following program output:

Last updated