Complete guide to mastering JavaFX with our comprehensive project library
Welcome to JavaFX Mastery Hub! This comprehensive guide will help you get started with our 60+ JavaFX projects.
Start with our Beginner Learning Path which includes 12 foundational projects covering basics, layouts, and styling.
# Verify Java installation
java -version
# Expected output: java version "11.0.x" or higher
Download JDK from: Oracle JDK Downloads
All projects were developed using NetBeans 8.2. You can use 8.2 or any newer version.
Download NetBeans from: Apache NetBeans
JavaFX was removed from JDK 11+. You need to download it separately from Gluon.
JavaFX-Projects/
├── Web_Applications/
│ ├── GoogleFont_V001/
│ ├── Web_v0012/
│ └── ...
├── Gallery_Projects/
│ ├── Gallery_v001/
│ ├── Gallery_v002/
│ └── ...
├── Games/
│ ├── Quiz_v005/
│ ├── Game_v002/
│ └── ...
├── Calculators/
│ ├── Calculator_v001/
│ └── ...
└── Advanced_Projects/
├── Networking_v001/
└── ...
Project_Name/
├── src/
│ └── package/
│ ├── MainClass.java # Entry point
│ ├── UIComponents.java # UI coded programmatically
│ └── resources/
│ ├── styles.css # CSS styling
│ └── images/ # Images/assets
├── dist/ # Compiled JAR
├── build/ # Build files
└── nbproject/ # NetBeans config
Open the project in NetBeans
Right-click project → Clean and Build
Press F6 or click Run → Run Project
# Navigate to project dist folder
cd Project_Name/dist
# Run the JAR file
java -jar Project_Name.jar
Most projects include pre-built JAR files in the dist/ folder. You can run them directly without opening NetBeans!
12 projects
CSS styling, button effects, typography, and web-inspired JavaFX interfaces
8 projects
Image viewers, galleries, photo manipulation, and visual effects
6 projects
Quiz games, interactive games, and game mechanics
5 projects
Standard calculators, scientific calculators, and specialized computation tools
7 projects
Practical tools, converters, and everyday utility applications
4 projects
Client-server applications, socket programming, and network communication
Prerequisites: Basic Java knowledge (variables, loops, methods, OOP)
Calculator_v001 → Login_v001 → Todo_v001 → Weather_v001
Prerequisites: Completed Beginner Path or equivalent experience
GoogleFont_V001 → Gallery_v002 → Quiz_v005 → Project_v015
Prerequisites: Completed Intermediate Path and strong Java foundation
Networking_v001 → Chat_v001 → Advanced_Gallery → Complex_Dashboard
Solution:
--module-path /path/to/javafx-sdk/lib --add-modules javafx.controlsSolution:
Solution:
getClass().getResource("styles.css").toExternalForm()Solution:
getClass().getResource("/images/icon.png")Yes! All project source code is available on GitHub. Some video tutorials are premium content, but the code is 100% free.
Absolutely! You're encouraged to modify, enhance, and showcase these projects. We only ask that you credit JavaFX Mastery Hub.
We recommend JDK 11 or JDK 17 (LTS versions). Most projects are compatible with JDK 8-17. For JDK 11+, you'll need to add JavaFX separately.
All UIs are built programmatically using pure Java code. This gives you complete control and helps you understand JavaFX fundamentals without relying on visual builders.
Yes, you can use and modify these projects for commercial applications. Check the LICENSE file on GitHub for specific terms.
We add new projects regularly! Follow us on GitHub and YouTube for updates on new releases.
Check the video tutorial for the project, review the troubleshooting section, or reach out through our GitHub issues page.
Yes! We welcome contributions. Fork the repository, create your project following our structure, and submit a pull request.
Can't find what you're looking for? Check out our video tutorials, or reach out through GitHub issues.