JFXtras is an open-source project that helps fill in some of the gaps of the JavaFX 1.0 Release. The JFXtras project is led by Stephen Chin (co-author of the upcoming Pro JavaFX book) and it includes support for Dialogs, Grid Layouts, Unit Testing, and an Asynchronous Worker class.
You can download the 0.1 release, peruse the Javadoc online, and sign-up for the mailing list, all on the Google Code project site.
The 0.1 release includes the following capabilities that augment what JavaFX 1.0 provides:
- Dialogs - The JFXtra Dialog provides a drop-in replacement for a Stage that will pop-up a real Java Dialog. This includes support for an owner window, modality, alwaysOnTop, the ability to hide the taskbar icon, and many other features.
- Layouts - The JFXtra Grid provides an advanced layout container (example shown above) that can be used for JavaFX nodes and wrapped swing components.
- Testing - JFXtras provides a declarative Unit Testing facility that allows you to do write JavaFX tests in the JavaFX language. It is modeled after best-of-class behavior-driven and fluent testing patterns to make tests easier to read and maintain.
- Asynchronous Worker - Working on the theory that developers deserve their share of rope, JFXtras provides an asynchronous worker wrapper that allows you to execute pure JavaFX code on a background thread.
Stephen Chin's recent blog post on JFXtras provides some background on the project.
Enjoy!
Jim Weaver
JavaFXpert.com
Comments