Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

Javaone2011 – 3 things missing from JavaFX

59 sec read

I have been to a lot of talks and asked the Oracle engineers here a large number of awkward questions and I have to confess I am pretty impressed with JavaFX 2.0 release. I never thought much of the original concept but adding it into Java itself makes it much more useful. It has an awful lot of really cool functionality in it – just try creating a Reflection or a motion blur in your current code in 2 lines of code! And being able to use FXML to create the GUI is very intuitive.

However, I have 3 ‘suggestions’ for JavaFX which are currently missing:-

1. Java Image support is poor. At the moment there seems no way to use Java’s internal image classes. I would have to save the image to a File and then open as it looks like JavaFX can only load images. Please let me use BufferedImage directly.

2. Printing. One of the attractions of Swing is that it is very easy to add print capabilities to a Swing application. If I want print support, I cannot rewrite my UI until you add this. JavaFX looks like it could offer alsorts of goodies if it could write to more than screen.

3. Java 5 support. Maybe a bit contentious but I can’t move to Java 6 yet. Maybe an isolated case.

If JavaFX had these 3 features, I would start using it today. Are there any things that you think JavaFX needs to succeed?

If you want more information on JavaOne and further coverage of the entire event check out our JavaOne Series Index, which covers everything that is happening and is constantly updated, keep checking back for new info!

Mark Stephens Mark Stephens has been working with Java and PDF since 1999 and has diversified into HTML5, SVG and JavaFX. He also enjoys speaking at conferences and has been a Speaker at user groups, Business of Software, Seybold and JavaOne conferences. He has a very dry sense of humor and an MA in Medieval History for which he has not yet found a practical use.

6 ways to improve your code quality

During JavaOne I attended a variety of sessions covering topics from how to use Docker containers to potential issues you may face when migrating...
Georgia Ingham
3 min read

2 Replies to “Javaone2011 – 3 things missing from JavaFX”

  1. I second you on the BufferedImage lack of support. It’s the core class that I use in my personal project. I have to swear.. with the way javafx is heading.. it seems it will be inevitable for me to switch to it… It has cul stuff.

Leave a Reply

Your email address will not be published. Required fields are marked *