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!