A Compiled JavaFX Script Playground - The Assortis Demo
Join the DZone community and get the full member experience.Join For Free
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
Opinions expressed by DZone contributors are their own.