Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.19 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.19 KB

Paint Brush

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.

Features

  • 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.

Tech Stack

  • Java Swing for GUI design.
  • Object-Oriented Programming concepts like inheritance, polymorphism, and encapsulation.
  • Event-driven programming using MouseListener and MouseMotionListener.

Screenshots

Paint Brush UI

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Swing for GUI development.
  • Inspiration from classic paint applications.