Creating "Hello World" JavaFX-style applications
The best way to show you what it is like to create and build a JavaFX application would be with a Hello World
application.
In this section, you will be using the NetBeans IDE we just installed to develop, compile, and run a JavaFX-based Hello World
application.
Using the Netbeans IDE
To quickly get started with creating, coding, compiling, and running a simple JavaFX-style Hello World
application using the NetBeans IDE, follow the steps outlined in this section:
- From the File menu, choose New Project.
- From JavaFX application category, choose JavaFX Application. Click on Next.
- Name the project
HelloJavaFX
. Optionally, you can define the package structure for application classes. Then click on Finish as ...
Get JavaFX Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.