JavaFX for Corporate Desktop Apps Too? (Not Just Games?)

In the screenshot below, each chart comes from a different plugin and all of them (except the scatter chart, which I included just for fun) react in an animated way, i.e., the lines in the charts visibly move up and down, when data is changed in the Swing JTable:

All the charts you see above are JavaFX components. And all the rest is Swing.

Note: Click to enlarge the image to get a better view. Apologies for the large view being very grainy; that's because there's some bug with enlarged PNG files on, so I had to do a GIF instead.

At least two things are illustrated here that you don't get from JavaFX. Firstly, the docking framework, i.e., each chart can be undocked from the main frame, even moved to a different monitor. Handy if you're a stock trader, air traffic controler, defence force specialist, and, oh probably, just about every user of a large app would find this handy. Secondly, pluggability. The end user (or you, as the provider of the app) can decide which charts should be included in the app. All you need to do is go to Tools | Plugins and install a new chart provider, which is an implementation of an interface made available by the app for registering new charts. 

But the main thing illustrated here is that you can pick the JavaFX goodies that seem relevant to your existing Swing app and simply disregard all the rest. (Or, move to the other parts step by step over a number of releases of your app, i.e., it's not an "all or nothing" thing.)


Do you know if NB can support JavaFX 2.0 visual designer like mattis?

Posted by guest on April 19, 2012 at 04:55 AM PDT #

What I've been thinking since Oracle acquired Sun would be a truly sane course:
- Put the NetBeans platform underneath JavaFX UIs in general
- Deploy via WebStart
- Replace all that monstrous gosh-awful that passes for a UI on those miserable business apps (such as the 3-slowww-roundtrips-to-move-focus-one-field things I was tortured with to do expense reports during the few months I was an Oracle employee)

User expectations, even for captive-audience corporate applications are now being set by the user experience of mobile apps. People make money writing books on how you can bypass your company's (SAP, Oracle, etc.) infrastructure in order to be more effective at your job.

It's not a question of gratuitous prettiness customers aren't asking for stright-up, it's a question of continued relevance.

Posted by Tim Boudreau on April 19, 2012 at 03:24 PM PDT #


Is it possible to get a hold of the source code for this?

Posted by Kristian on April 19, 2012 at 07:39 PM PDT #

Your post remind me that - like I wrote in - server-side portals have failed IMHO:
- in the Java world, for example, the portlet technology is heavy- weight and makes portal development a huge effort.
- there is little interest for corporates to instantiate a server-side portal, which is expensive, while the need is simple: the data just go through the portal, which is quite brainless (there are already various standards and web API to request news sources directly from the client).
- the other reason is that, implementing a portal, that is, such a windowing system on the server-side (!) is unnatural: it's not the right side.

On the contrary, client-side portals look like the way to follow.

So, I am glad JavaFX is providing more value on the client-side.

Posted by Dominique De Vito on April 19, 2012 at 09:02 PM PDT #

How do I put JavaFX project into Netbean platform?
thank you very much

Posted by Shang on May 02, 2012 at 08:36 AM PDT #

How do I put JavaFX in Eclipse?
Is that possible?

Posted by Argentum Online on May 05, 2012 at 05:13 PM PDT #

Ask someone who uses Eclipse, not me.

Posted by Geertjan on May 06, 2012 at 01:43 AM PDT #

Is it possible to get a hold of the source code for this?

Posted by jhons on August 08, 2014 at 05:04 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed

Geertjan Wielenga (@geertjanw) is a Principal Product Manager in the Oracle Developer Tools group living & working in Amsterdam. He is a Java technology enthusiast, evangelist, trainer, speaker, and writer. He blogs here daily.

The focus of this blog is mostly on NetBeans (a development tool primarily for Java programmers), with an occasional reference to NetBeans, and sometimes diverging to topics relating to NetBeans. And then there are days when NetBeans is mentioned, just for a change.


« July 2016