Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.35 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.35 KB

Simple Paint Applet in Java using Object Oriented Programming.

Project Description

The "Simple Paint Brush" is a Java-based drawing program implemented as an Applet. This program enables users to create and manipulate various shapes, including rectangles, lines, ovals, erasers, and pencils. The application features a user-friendly graphical user interface (GUI) with buttons for selecting different drawing modes and colors, making it accessible to individuals of all skill levels.

Usage Instructions

  1. Launch the application.
  2. Choose a drawing mode by clicking on the corresponding button (Rectangle, Line, Oval, Eraser, or Pencil).
  3. Select a color by clicking on the Red, Blue, or Green button.
  4. Optionally, toggle the "Fill Shape" checkbox to determine whether shapes should be filled.
  5. Click and drag the mouse to draw shapes on the Applet.
  6. Use the "Undo" button to remove the last drawn shape.
  7. Click "Clear All" to reset the Applet.

How to Run

  1. Compile the Java code.
  2. Run the compiled code.

Features

  • Supports drawing of rectangles, lines, ovals, erasers, and pencils.
  • Choose from different colors (Red, Blue, Green).
  • Fill shapes option for solid drawings.
  • Undo functionality to remove the last drawn shape.
  • Clear All button to reset the drawing area.

Feel free to explore and enhance this simple paint brush application!