Paint Brush is an Applet based application that enables the user to draw basic shapes with different colors. In addition, the user has the ability to clear all of the drawings or erase some parts of them. The application also supports the Undo operation and the ability to draw with different line strokes (dashed or dotted).
The project is fully developed using Object Oriented Programming.
1.Colors Buttons: The user presses one of these buttons before drawing to draw using one of these colors: Red, Green, Blue, Orange, Gray or Yellow.
2.Shapes Buttons:The user can press one of these buttons before the drawing to draw a shape by dragging from a start point to an end point. The shape is drawn while dragging till the user releases the mouse button.
Implemented shapes: Rectangle, Oval, and Line.
3.Free Hand Button: The user presses on this button to doddle while dragging.
4.Eraser Button:The user presses on this button be able to erase parts of the drawings.
5.Clear All Button: The user presses on this button to clear all of the drawings from the drawing area.
6.Dotted Checkbox: If checked it lets the shapes line stroke to be dotted. If not checked, it lets the shapes line strokes to be solid.
7.Filled Checkbox: If checked, it lets the Rectangle or Oval shapes 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.
8.Undo Button: It lets the user undo the previous action(s)
9.Change Line Stroke