A drawing application that features various colored shapes in its user interface, which can also be customized with the gradient, size and filled features.
- an Undo button to undo the last shape drawn.
- a Clear button to clear all shapes from the drawing.
- a combo box for selecting the shape to draw, a line, oval, or rectangle.
- a checkbox which specifies if the shape should be filled or unfilled.
- a checkbox to specify whether to paint using a gradient.
- two JButtons that each show a JColorChooser dialog to allow the user to choose the first and second color in the gradient.
- a text field for entering the Stroke width.
- a text field for entering the Stroke dash length.
- a checkbox for specifying whether to draw a dashed or solid line.
- a JPanel on which the shapes are drawn.
- a status bar JLabel at the bottom of the frame that displays the current location of the mouse on the draw panel.


