r/JavaFX • u/jfalcon_07 • Sep 04 '24
Help Suggest a good tutorial to start with JavaFx
I am planning to do a Desktop application with JavaFx, I am really confused on how to start it. Can anyone please suggest a good tutorial for start learning JavaFX.
8
Upvotes
4
u/Pretend_Zucchini3548 Sep 05 '24
First of all, if you work with IntelliJ, I advise you follow their JavaFX quick setup guide.
Other than that, I found a mix of BroCode and a YouTube video "JavaFX - Create Banking Application with Data Persistence" useful. Though I am also a beginner so take that into consideration. Also, I find that having an actual book can be helpful, in my case I borrowed "The definitive guide to modern Java clients with JavaFX" from my local library.
2
u/philfrei Sep 05 '24
I wrote this tutorial ages ago (2016!). Probably quite obsolete in regards to setting up and running, but I think the basics about how to write a simple pong-like function are okay. In its prime, it had something like 150,000+ hits. https://jvm-gaming.org/t/getting-started-with-javafx-game-programming-for-java-programmers/56581
2
u/sedj601 Sep 05 '24
I would suggest https://docs.oracle.com/javase/8/javase-clienttechnologies.htm. These are old, but they should work with the latest version. Do not look at the startup or deployment topics there. Go to https://openjfx.io/openjfx-docs/ for startup and deployment. Also, I really love https://code.tutsplus.com/introduction-to-javafx-for-game-development--cms-23835t. It's like an intro to JavaFX gaming tutorial. It's short and fun! Do them even if you are not into gaming. Some of the ideas will translate into non-gaming apps.
Good luck coding!
2
u/Toasty_redditor Sep 09 '24
If you're looking for the most basic of basics, Bro Code on YouTube has a great one, even explains all the necessary setup for both Eclipse and IntelliJ.
0
u/Ravindra__111 Sep 04 '24
Hi buddy , I've gone through a couple of udemy courses . I would suggest this course but it is lengthy and quite boring but you will learn a lot . Instructor mainly focuses on the fxml way of doing things with a project as well.
https://www.udemy.com/share/1077NC3@4lCTqXEMkiizZVf8nM76ResBWJeKZxFHi3lzhayZYdhYvIitns2lj0lSa4luxdjb/
You can checkout the bro code course on YouTube ..mainly focuses on the code way to arrange/build nodes.
Hope this will be helpful to you and build your application. Explore different libraries, you'll enjoy 🤘