A Compiled JavaFX Script Playground - The Assortis Demo
Today I'd like to call your attention to a new compiled JavaFX Script demo, named JavaFX Assortis, from the JavaFX Script compiler team. It's purpose is to enable you to experiment with and learn about various JavaFX Script UI features. It is my understanding that Assortis means "sampler", or "assortment" in French, kind of like a box of chocolates (I'll spare you the Forrest Gump reference, by the way). Anyway, here's a screenshot of JavaFX Assortis:
From the panes on the left side you can choose to work with Nodes (graphical objects like Circle), Widgets (UI objects like CheckBox), or come cool samples (like the animated Planetary System shown above). You can then work with your selected objects in the right panes, altering the code to see the effects.
How can you get access to this demo, you ask? Just download and build the OpenJFX Compiler, navigate to the demos/JavaFXAssortis directory, and run the following command from the command-line:
This will cause this demo to be built (if necessary) and executed. It's a great way to get up to speed quickly on using some of the UI features of JavaFX Script.
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications
Immediate eBook (PDF) download available at the book's Apress site
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)