This repository contains the source code and documentation for my second-semester Object-Oriented Programming (OOPs) course project - a comprehensive paint program implemented in Java. The paint program allows users to draw various shapes, including bezier curves, and offers additional features such as free draw, layer functionalities, saving and loading drawings, grid display, stroke customization, undo/redo functionality, and color picking from a gradient tool.
- Manually designed GUI using Java Graphics API.
- Implemented button functionalities manually.
- Drawing various shapes, including Bezier curves.
- Free draw mode with custom strokes.
- Layer functionalities to organize drawings.
- Save and load drawings using object serialization.
- Grid display for precise drawing.
- Undo and redo functionality.
- Color picking from a gradient tool.
To use the paint program, you need to have Java Development Kit (JDK) installed on your system. If you don't have it, you can download it from the official Oracle website or use OpenJDK.
- Clone the repository to your local machine using:
git clone https://github.com/itbaans/JavaPaint.git
- Compile the Java source files:
javac *.java
- Run the paint program using the following command:
java Main
- Explore the various features of the paint program, such as drawing shapes, using the free draw mode, managing layers, saving and loading drawings, and customizing stroke styles.
If you want to contribute to this project, feel free to open issues or submit pull requests. Any contributions are welcome!
