My Personal JavaFX 9 Wish List

Help us making JavaFX 9 really great!

For about one year we are heavily using JavaFX 8 in our daily work. In the past twelve months, we enjoyed the good things like FXML, CSS, Binding Expression Language, and the pretty cool rendering engine. But we also found a lot of dark corners, forcing us to file more than 100 JIRA tickets.

Certainly Oracle cannot custom-tailor JavaFX around our particular needs. But we certainly hope that the next JDK generation will provide at least some of the most urgent stuff. BTW, as Oracle claims to be community driven, I’d like to ask anybody to login to the JavaFX JIRA tracker and actively vote for all the nice things you like to have. This allows Oracle to better understand what the community really wants.

Having said this, here is me personal wish list for OpenJFX 9:

  • FXML: Declaring bidirectional bindings using the # operator.
  • Controls: Automatic use of local formatting rules for all kinds of bound types (like Integer and Double), which currently format according US rules.
  • FXML: Providing a TextFormatter (including a filter) in pure FXML, without custom Java code.
  • Controls: Apply default TextFormatters wrt to bound data type, i. e. when typing into a TextField bound to an Integer JavaFX should automatically prevent typing in anything else but digits. These TextFormatters must respect local formatting symbols (e. g. decimal dot vs decimal comma).
  • Controls: All text-bound controls should be able to use TextFormatter, incl. Label.
  • FXML: Invoking static Bindings methods in FXML, e. g. “${format(%localFormatFromResource, myValue)}”, or “$when(a.isNull).then(b).otherwise(a)”
  • Core: Convert collection’s content from type A to type B, i. e. when binding a List in the model to a List in the GUI, there must be a way to provide the conversion applied to each instance – independent of the control being used to display it. (See JIRA Ticket 81346).
  • Tools: Packager bundles app for iOS and Android. The future is mobile, so should be JavaFX.

Also I would love to see more JavaFX users becoming JavaFX contributors. JavaFX has a rich user community, and I am pretty sure there is lots of code that would be suited well as part of the JavaFX core. To make a start, I contributed some of my own code recently to the OpenJFX project. Why not following me?

About Markus Karg

Java Guru with +30 years of experience in professional software development. I travelled the whole world of IT, starting from Sinclair's great ZX Spectrum 48K, Commodore's 4040, over S/370, PCs since legendary XT, CP/M, VM/ESA, DOS, Windows (remember 3.1?), OS/2 WARP, Linux to Android and iOS... and still coding is my passion, and Java is my favourite drug!
This entry was posted in Java, Open Source, Programming, Projects, Standards and tagged . Bookmark the permalink.