https://github.com/cypherrohan/my-paint-java
Basic Paint app made by using java, having very basic features of a typical Paint app.
https://github.com/cypherrohan/my-paint-java
github java miniproject opensource paint-application
Last synced: 2 days ago
JSON representation
Basic Paint app made by using java, having very basic features of a typical Paint app.
- Host: GitHub
- URL: https://github.com/cypherrohan/my-paint-java
- Owner: CypherRohan
- License: mit
- Created: 2024-07-13T05:49:45.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-31T05:22:31.000Z (6 months ago)
- Last Synced: 2025-03-31T06:25:41.841Z (6 months ago)
- Topics: github, java, miniproject, opensource, paint-application
- Language: Java
- Homepage:
- Size: 109 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# My-Paint-JAVA
Basic Paint app made by using java, having very basic features of a typical Paint app.DESCRIPTION:
The Basic Paint App is a simple drawing application developed in Java using Swing. It allows users to draw on a canvas with different colors and brush sizes, as well as erase parts of their drawings. The application includes basic features such as clearing the canvas and selecting brush sizes.FEATURES:
Draw with different colors: Black, Blue, Green, Red.
Eraser tool to remove parts of the drawing.
Adjustable brush size from 5 to 25.
Clear the canvas to start a new drawing.
User-friendly interface with intuitive controls.PREREQUISITES:
Java Development Kit (JDK) 8 or higher
A development environment like IntelliJ IDEA, Eclipse, or any other Java IDEUSAGE:
Select Color: Click on the color buttons (Black, Blue, Green, Red) to choose your drawing color.
Brush Size: Use the dropdown menu to select the desired brush size.
Eraser: Click the "Eraser" button to switch to the eraser tool. Use the dropdown menu to adjust the eraser size.
Clear Canvas: Click the "Clear" button to clear the entire canvas and start a new drawing.FUTURE ENHANCEMENTS:
1.Let User save their work(data).
2.Try to introduce all the required features of the paint application.CODE OVERVIEW:
BasicPaintApp: The main class that sets up the application window and contains the main method.
DrawingPanel: A custom JPanel where the drawing operations are handled.
clearImage(): Method to clear the drawing canvas.
draw(int x, int y): Method to handle drawing with the selected color and brush size.
erase(int x, int y): Method to handle erasing parts of the drawing.