This program allows the user to create several different types of objects on the canvas. The last object created can be moved by dragging it. The user can also change the color of the last shape created by using the color palette along the side of the window. The size of the next shape created can be set using the slider. This program demonstrates the use of the JSlider and JComboBox GUI components.
Click below to download the source files for DrawingProgram.