A great resource to help you climb the JavaFX Script learning curve is the Project OpenJFX site. According to the site, "Project OpenJFX is a project of the OpenJFX community for sharing early versions of the JavaFX Script language and for collaborating on its development. In the future, the JavaFX Script code will be open sourced. The governance, licensing, and community models will be worked out as the project evolves."
The Project OpenJFX site contains some tutorials, one of which concentrates on some of the user interface widgets available with JavaFX Script. It comes in two parts:
- Part 1 is very short, and contains information on using NetBeans with a plug-in to create a simple JavaFX Script program. By the way, in my previous post I showed you how to use JavaFXPad to create a JavaFX Script program.
- Part 2 takes a deep dive into many of the JavaFX Script widgets including layout widgets (components that enable you to layout the UI in a cross-platform manner). Under the covers, these widgets are actually Java Swing components and Java Layout Managers, but JavaFX Script's declarative syntax makes quick work of creating and using them.
By the way, if you prefer Eclipse, you can use the tutorial above with the Eclipse JavaFX plug-in as well.