A working demo of DrawingProgram will appear below. Click inside the applet to interact with it.

Click below to download the source files for DrawingProgram.

Click here to download an Eclipse project for DrawingProgram. When you create your run configuation in Eclipse for this demo, set the width to "400" and the height to "400".