Painter Pro - JavaFX Drawing Application
A feature-rich drawing application built with JavaFX that provides an intuitive interface for creating digital artwork with various tools and customization options.
✨ Features
🎨 Drawing Tools
- Pen Tool: Draw with smooth, continuous strokes
- Eraser Tool: Remove parts of your drawing seamlessly
- Multiple Brush Sizes: Choose from 4 preset sizes or use the slider for custom sizes
- Real-time Drawing: Draw with mouse drag for natural painting experience
🎯 Color System
- Preset Colors: Quick access to Black, Blue, Green, and Red
- Color Picker: Choose any custom color from the full spectrum
- Visual Feedback: Status bar shows current RGB values
📏 Size Controls
- Preset Sizes: Small (2px), Medium (4px), Large (6px), X-Large (10px)
- Custom Slider: Fine-tune brush size from 2px to 20px
- Synchronized Controls: Radio buttons and slider work together
💾 File Management
- Save Drawings: Export your artwork as PNG or JPEG files
- High-Quality Export: Preserves drawing quality in saved images
- File Chooser: Easy navigation to save locations
🔄 Editing Features
- Undo/Redo: Multi-level undo/redo functionality
- Clear Canvas: Start fresh with a single click
- Stroke-based Editing: Each drawing stroke can be individually undone
🚀 Installation & Setup
Prerequisites
- Java JDK 8 or later
- JavaFX SDK (compatible with your JDK version)
Running the Application
Clone or download the project files
Painter.java- Main application classPainterController.java- Controller logicPainter.fxml- User interface layout
Compile and run:
javac --module-path /path/to/javafx-sdk/lib --add-modules javafx.controls,javafx.fxml *.java java --module-path /path/to/javafx-sdk/lib --add-modules javafx.controls,javafx.fxml Painter
Log in or sign up for Devpost to join the conversation.