Paint Brush Project Specifications
Abstract
Paint Brush is a Jframe based application that enables the user to draw basic shapes with
different colors and line strokes. In addition, the user should have the ability to clear all the
drawings or erase some parts of them. The user would be happy if the applications
supported Undo operations.
Specifications
1. Colors Buttons: The user should press one of these buttons before drawing to draw
using this color.
At least the following buttons:
• Red
• Green
• Blue
2. Shapes Buttons: The user should press one of these buttons before the drawing to
draw a shape by dragging from a start point to an end point. The shape should be
drawn while dragging till the user release the mouse button.
• Rectangle
• Oval
• Line
3. Free Hand Button: The user should press on this button to doddle while dragging.
4. Eraser Button: The usershould press on this button be able to erase parts of the
drawings.
5. Clear All Button: The user should press on this button to clear all of the drawings
from the drawing area.
6. Dotted Checkbox: If checked it lets the shapesline stroke to be dotted. If not
checked, it letsthe shapes line strokesto be solid.
7. Filled Checkbox: If checked, it lets the Rectangle or Ovalshapes that will be drawn
after to be filled with the pre-selected color. If not check, it lest the shapes to be
drawn as outlines only.