A simple Java-based Paint Brush application built with Swing. The application allows users to draw various shapes, use a pencil tool, and perform actions like undo and clear. It also supports customizations like stroke size, solid/dotted lines, and color selection.
- Drawing Tools:
- Line, Rectangle, Oval, Pencil, and Eraser.
- Customizable Settings:
- Change stroke size using a slider.
- Solid or dotted lines.
- Color chooser with predefined colors and a color picker.
- Editing Tools:
- Undo last action.
- Clear canvas.
- Dynamic Interactivity:
- Smooth drawing with mouse events and responsive controls.
- Java Swing for GUI design.
- Object-Oriented Programming concepts like inheritance, polymorphism, and encapsulation.
- Event-driven programming using MouseListener and MouseMotionListener.
This project is licensed under the MIT License. See the LICENSE
file for details.
- Swing for GUI development.
- Inspiration from classic paint applications.