by Jonathan Giles | Oct 19, 2014 | ControlsFX
Hot on the heels of the 8.20.7 release, I am pleased to announce the release of ControlsFX 8.20.8. This release is primarily a bug fix release (to smooth some of the rough edges from 8.20.7), but there are also a couple of new features in this release to keep things interesting. The main bug fixes include:
- ControlsFX 8.20.7 only worked on JavaFX 8u20. This has been fixed so ControlsFX 8.20.8 works on JavaFX 8u20 and later (such as the just-released 8u25).
- ControlsFX-Samples was not executable because we changed our build scripts in 8.20.7 and forgot to include the relevant manifest attributes. This has been fixed.
- SpreadsheetView continues to receive bug fixes (and unit tests).
- It was not possible to use the Notifications API in an OSGi environment – now it is.
- And of course a bunch of other useful bug fixes!
The two main features in this release were both contributed by Dirk Lemmermann. They are:
TaskProgressView
The task progress view is used to visualize the progress of long running tasks. These tasks are created via the Task
class. This view manages a list of such tasks and displays each one of them with their name, progress, and update messages.
An optional graphic factory can be set to place a graphic in each row. This allows the user to more easily distinguish between different types of tasks.

ListSelectionView
A control used to perform a multi-selection via the help of two list views. Items can be moved from one list (source) to the other (target). This can be done by either double clicking on the list items or by using one of the “move” buttons between the two lists. Each list can be decorated with a header and a footer node. The default header nodes are simply two labels (“Available”, “Selected”).

If you are unfamiliar with ControlsFX, you can get an overview of the main features. As always, you can download the latest release from controlsfx.org, as well as find the latest release and hourly snapshot builds on Maven Central.
by Jonathan Giles | Oct 19, 2014 | Links
A heap of links this week, enjoy! 🙂
That’s all folks – back to work for me! Catch you next week 🙂
by Jonathan Giles | Oct 12, 2014 | Links
Sorry for the few weeks of radio silence – I had the JavaOne distraction followed by a week of catching up on everything that needed me during the JavaOne week. I’m only just surfacing again now, and there are a huge number of links to cover, so pardon the succinctness – we have a lot to get through! I’ll also note that I’ve bound to have missed some links, so apologies for that. Now, on to the links – enjoy 🙂
- Soon the JavaFX sessions will have their audio and slides posted to Parleys, but until then the slides are available for download from the JavaOne site – just search the content catalog. I’ll post my slides sometime along with further commentary about the session, but until then, you can find the slides for my sessions here: custom JavaFX controls, Scenic View, ControlsFX, and DataFX.
- During JavaOne I announced the release of two projects: Scenic View 8.0.0 and ControlsFX 8.20.7. These are both major releases with a bunch of new functionality and bug fixes, so get downloading!
- Johan Vos made a big splash at JavaOne this year. Firstly, he won a Dukes Choice award for his JavaFX port to Android. Secondly, he has an article up in Java Magazine that covers how to use this port to write a JavaFX application that runs on Android. Thirdly, it was announced at JavaOne that the JavaFX ports project will be working to make Java 8 (and therefore JavaFX 8) available on both Android and iOS devices. I’ll be posting an interview with Johan and Niklas in the coming week.
- Hendrik Ebbers has a bunch of blog posts, including on the topics of ‘JavaOne 2014 Slides‘, ‘Iconify your application the resolution independent way‘, ‘The View Objects Pattern & automated tests with TestFX‘, ‘How to integrate custom fonts in your JavaFX application by using CSS‘, and ‘Enrich your List UI by using the MediaListCell‘.
- Hendrik Ebbers has also posted the slides that he, Johan Vos, and I presented at JavaOne regarding the DataFX project.
- Tomas Mikula has created another JavaFX-related library, this time called WellBehavedFX, which consists of ‘composable event handlers and skin scaffolding for JavaFX controls’.
- Tom Schindl has a post about e4 on JavaFX and OpenDolphin.
- Rob Terpilowski has posted a few screenshots and a video of the Zoi Capital ZQ Trader software written in JavaFX.
- Sébastien Bordes has announced the release of JRebirth Application Framework 7.7.4.
- Dirk Lemmermann has been very busy with his (commercial) FlexGanttFX library. Firstly, he has published it for sale on ComponentSource (as he states, for those unfamiliar with ComponentSource, it is an international reseller of software components, basically the “App Store” of custom controls). Secondly, he has released version 1.1.0 which includes a number of new features and bug fixes. Thirdly, he has been working hard on writing high quality documentation for the control.
- Andres Almiray has posted that “It’s time for a Desktop Application Framework JSR“. If you are interested in being involved, be sure to get in touch with him.
- The dooApp blog has two posts. Firstly, they’ve posted details about how they’ve created a sampler application based on the ControlsFX FXSampler component. Secondly, they have a post on ‘JavaFX persistence made easy with JCROMfx‘.
- Carlos Martins has posted about how to developed a JavaFX websocket client application that is deployed via Webstart JNLP.
- Christian Schudt has posted about Babbler – an XMPP library for Java – and more specifically, a visual XMPP viewer coming in the next release.
- Mik Arber has created a new JavaFX layout container he calls RefPoint. He states in the post that “it’s principal is simple as you define one node position or two points node relatively to some reference points.”
Phew! That took a while to write out! I hope you enjoyed the links from the past few weeks – and I’ll catch you again next week! 🙂
by Jonathan Giles | Sep 30, 2014 | ControlsFX
It’s time for another ControlsFX release, this time taking the version number on another jump up the scale and finally settling on version 8.20.7. What this version number represents is the fact that this release requires JavaFX 8u20 and will not work with earlier versions. If you want to use ControlsFX with JavaFX 8.0, you will need to use ControlsFX 8.0.6.
Why the delay?
This release has been brewing since 8.0.6 was released on May 29th – so basically four months. This is not typical for us (we normally have much quicker releases), but Eugene and I were both distracted on a major undertaking – elevating the ControlsFX dialogs API and implementation into the next release of JavaFX itself (it’ll be appearing in JavaFX 8u40, although the API is vastly different than what you see in ControlsFX 8.0.6). The end result is that we iterated through a bunch of API design work (see RT-12643) and none of that benefited ControlsFX, but it took up all our time.
Once JavaFX 8u40 dialogs were API complete (which was only mid-August), we developed a plan for how to proceed with ControlsFX dialogs. In essence we didn’t feel that it was wise to maintain a dialogs API in ControlsFX that was so divergent than what will ship in JavaFX 8u40. Therefore, the plan that we developed was to deprecate the old ControlsFX API, fork the JavaFX dialogs API into a new project called openjfx-dialogs, and to recreate the additional features that ControlsFX includes (but are lacking in JavaFX itself) using the new API (this includes dialogs like progress, font chooser, command link, login, etc). The end result is two-fold:
- ControlsFX 8.20.7 has an external dependency on openjfx-dialogs, but this will only be the case until we baseline on JavaFX 8u40, at which point it can be removed.
- ControlsFX 8.20.7 ships with two dialogs APIs! The saving grace is that the old one is still fully functional but deprecated – hopefully that will give you enough of a hint that the old API will go away in a future release.
The nice thing about openjfx-dialogs is that people wanting to use the new JavaFX dialogs API in 8u20 can do so – just download the jar (or set it as a dependency) and you can use the API (and implementation) exactly as it will be in 8u40. This is great for me – it gives me more testers of the JavaFX dialogs API and implementation – hopefully you can file bugs if you run into them.
What else is new in ControlsFX 8.20.7?
On top of the already mentioned dialog classes, the major new features in ControlsFX 8.20.7 are a new Wizard API (again, built using the new dialog API) and a StatusBar control:
Wizard
The wizard was implemented by Eugene and myself. I think it strikes a really nice balance between simplicity and flexibility, but I am sure that over time we will continue to tweak the API as we get more user feedback. The thing I like most about the API is its simplicity. In the common use cases, you can simply specify the pages you want to show, and that’s it. Once the dialog is closed by the user (or in fact, at any time), you can query a Map to retrieve the input that the user has put into all fields of the wizard. The Wizard knows how to extract values from most commonly used controls, and if it can’t, you can easily add support for custom value extractors. On top of this, the wizard supports linear and conditionally branching page flows. Here’s a screenshot from our simple test wizard:

StatusBar
The status bar control was contributed by Dirk Lemmermann. It is normally placed at the bottom of a window. It is used to display various types of application status information. This can be a text message, the progress of a task, or any other kind of status (e.g. red / green / yellow lights). By default the status bar contains a label for displaying plain text and a progress bar for long running tasks. Additional controls / nodes can be placed on the left and right sides.
The picture below shows the default appearance of the StatusBar control: 
The following picture shows the status bar reporting progress of a task:

The last picture shows the status bar with a couple of extra items added to the left and right:
Miscellaneous Improvements
Of course, on top of the major new features / changes, there is a bucket load of small improvements, including the following:
- Improved glyph font support, including support for the latest FontAwesome release.
- Improved build system – we now have just one gradle project that can work with ControlsFX, ControlsFX-samples, and FX Sampler.
- Action and Dialogs API refinement, based on our work moving dialogs up to JavaFX 8u40.
- New CSS tab in FX Sampler – now FX Sampler can not only syntax highlight the code of a sample, it can also syntax highlight the CSS of the control.
- The validation API now supports regular expressions and predicates.
- Improved internationalisation support – we are fully integrated with Transifex, and the community is always welcome to help translate.
- Big performance improvements in SpreadsheetView.
- Support for any span in SpreadsheetView fixed row/columns
- RangeSlider is now a lot less finicky about setting min / max / high / low values.
- Lots of bug fixes, particularly in Dialogs, Actions, SpreadsheetView, as well as the Check* controls (CheckListView / CheckTreeView / CheckComboBox).
That’s all for this release – we hope you appreciate all the hard work that the team is putting in to ControlsFX, and that you might consider offering bug fixes or bug reports. If you want to get involved, check out our documentation that describes everything that you need to know to get started.
by Jonathan Giles | Sep 29, 2014 | Scenic View
It’s been a really long time in the making, but I’m pleased to announce the final release of Scenic View 8.0.0. This release is the culmination of a huge amount of work, and whilst not perfect, is a good starting point for further discussion and refinement. The other big aspect of this release is the fact that Scenic View is now open source – yay! 🙂

Given the large number of developer preview releases there should be no surprises as to what to expect in this release – it is just bug fixing at this point. However, now that 8.0.0 is out I hope that we can accelerate the development of the project by getting more people into the code base and helping to refine, improve, and simplify it. Please, take it for a spin and be sure to file bugs over at the new bug tracker.
Finally, here’s a sneak peak of what might be coming up in a future release of Scenic View:

Go forth and download! I know the release isn’t wart-free, but I need your help to diagnose and resolve the issues. Thanks!