Click to reopen instructions.

This is a real Java Swing program with a GUI (Graphical User Interface). Hit and your program’s window appears there; your mouse and keyboard work in it just like a local window.

The first run boots a remote machine where the Java program actually runs; that can take a while so be patient. Anything your program prints shows up in the Output tab (as do compile errors), and closing your program’s window—or hitting Stop—ends the run.

Your assignment: make this app more interesting. The starter code is a small working example—a window with a drawing and a button that changes it. Run it once to see how it works, then go nuts. You can stick with drawing code or you can play around with other Swing components. (See the javax.swing Javadocs for more info.)

Put definitions here.

Revisions:
No window yet — click ▶ Run to run your program.