Geertjan's Blog

News from the Modular JavaFX Application Framework

Geertjan Wielenga
Product Manager

Once upon a time I started creating an application framework (named 'mfx', for 'modular JavaFX') with JavaFX on the NetBeans Platform. Today I updated it to NetBeans Platform 8 and JDK 8, which means I removed the wrapped jfxrt JAR, since that's now on the classpath of JRE 8.

Added a few small other features and here's a small starter app created on mfx, showing a JavaFX menubar and toolbar populated from the 'menu' and 'toolbars' folders in the NetBeans System FileSystem, as well as some open windows with rudimentary tabs (which should be changed to JavaFX tabs):

Project page:


The difference between this and the 'efx' framework (which was started by Sven) is that I'm not recreating the whole world, just creating JavaFX components that replace NetBeans Platform Swing components, and then populating their content from the NetBeans System FileSystem.

A nice aspect to all of this is that stylesheets can be used. For example, the menubar is styled like this:

/*Menu Bar*/
.menu-bar {
    -fx-background-color: lightblue;
.menu .label {
    -fx-text-fill: black;
/*Menu Items*/
.menu-item:focused {
    -fx-background-color: greenyellow;
.menu-item .label {
    -fx-text-fill: black;

A lot still needs to be done, and some parts may not be doable, but anyone interested in working on it with me is welcome to join in and anyone wanting to base their application on it is also welcome to do so.

Join the discussion

Comments ( 4 )
  • Stanyslas Matayo Wednesday, July 2, 2014

    Dear Geertjan,

    Very good news.

    Finally, I wish we will have a complete version with Java Fx.

    It's just a trial or the final goal is to migrate all the platform to Java Fx.

  • Vignesh Arjunan Wednesday, July 2, 2014

    Wow!!! That is some great news !!!

    Is it stable enough to be adopted into commercial grade apps. I would like to know the stability story of this project. Can you please point me out some details???

  • rcpacheco Wednesday, July 2, 2014

    It would be great to have a list of things you consider necessary to do, as a starting point to possible colaborators.

  • Geertjan Thursday, July 3, 2014

    Thanks for the enthusiasm. Yes, it can already be used. Probably several things to fix still, e.g., the mouse doesn't work on menus, only the keyboard works there, don't know why, need to investigate. Take a look and feel free to contribute.

Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.