I havent tried Java FX since there was no support for linux until recently, and i dont really understand what Java FX is for ?
But from googling around, i've seen Java FX is compared with other technologies like Adobe Air and Silverlight. And from the screenshots, it seems to me that Java FX is like another GUI app, like Applet or JavaWebStart's GUI app.
I wonder what's the reason for the birth of Java FX when Swing seems to be able to do the GUI stuffs .. ?
Why choose Java FX over Swing ? Or do i completely misunderstand everything here ?
As per my understanding JavaFX was developed with designers mind and is mainly targeted for RIA market, the language syntax is easy to pick up with a way to use graphics format and much better support for media then what is provided by JMF, so basically Swing is for Desktop Application but if you want a fancy interface with cool animation and immersive user experience , JavaFX is a way to go, also it is much easier to code in JavaFX using declarative syntax which is inherent to JavaFX script then Swing
You may want to read through some of our responses to questions similar to yours, but JavaFX makes it easy to build very rich GUI applications that run equally well on your desktop, mobile device, and TV set-top box. Being based on Java, you can leverage all of your existing Java knowledge and code base/libraries, and its powerful paradigms and expressive language make it very easy to build GUI applications when compared to Swing. Try it and I'm sure you'll find it's incredibly simple to build otherwise complex interfaces with JavaFX.
Joined: Oct 18, 2007
Hello and thank you all for your enlightening replies.
I'll dig into JavaFX pretty soon, seems to be very exciting now ..