Forgive me if this question doesn't make complete sense, I'm not an expert at GUIs in Java.
I'm curious if Oracle's plan is to phase out Swing for JavaFX2. From this Layman's perspective, I found it a lot easier and effective to use JavaFX2 despite its infancy, and had a not-so-nice time using Swing. Also it seems like Oracle are pushing JavaFX2 a fair bit, and plan to include it in the standard libraries as of a forthcoming update.
So what's the situation? I need an expert to inform me! :)
I'm not an expert either but in my opinion Swing and JavaFX are not rival technologies. Swing is primarily designed for typical desktop applications (eg. office apps with many forms/dialogs/etc) while JavaFX is better for multimedia applications (eg. animations, games). Of course you can write games/animations in Swing/AWT too, but JavaFX makes a lot of things easier. I think JavaFX was originally planned to be some kind of Java-alternative to Flash, rather than replacement for Swing. I don't think Swing will be abandoned in near future due to its wide adoption nowadays.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With