This program allows the user to create several different types of objects on the canvas. They can then change the color of the last shape created by using the buttons along the side of the window. It demonstrates the use of interfaces to control different types of objects.

Note: This demo requires a Java enabled browser. If you see this message then your browser either doesn't support Java or has had Java disabled.

Click below to download the source files for DrawingProgram.