Over a million developers have joined DZone.

A Compiled JavaFX Script Playground - The Assortis Demo

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

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:

Assortisdemo

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:

ant run

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.

Regards,
Jim Weaver
JavaFX Script: Dynamic Java Scripting for Rich Internet/Client-side Applications

Immediate eBook (PDF) download available at the book's Apress site

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}