Skip to content

Paint Brush is a Java Swing-based drawing app showcasing tools like Line, Pencil, Eraser, Undo, and more. Built using OOP concepts with smooth interactivity and customization.

Notifications You must be signed in to change notification settings

hayam-tarek/paint-brush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Paint Brush is a Java Swing-based drawing app showcasing tools like Line, Pencil, Eraser, Undo, and more. Built using OOP concepts with smooth interactivity and customization.

Topics

Resources

Stars

Watchers

Forks

Languages