Jesper de Jong wrote:No, that is not exactly what I said.
JavaFX is a library and framework for writing GUI applications in Java. You would use it if you for example want to write a desktop app in Java. You can also use it for applets (Java program which run inside the browser), but Java applets are not popular - mainly because Java in the browser has a bad reputation with regard to security, and people don't want to be bothered with installing the Java plug-in for their browser, etc.
The same thing is happening to Adobe Flash and Microsoft Silverlight. Flash was hugely popular until a few years ago. Adobe stopped developing Flash. Microsoft stopped developing Silverlight. Modern browsers now have very fast and efficient JavaScript interpreters, and JavaScript and HTML5 are now the dominant way to write web applications. People don't want things like Java, Flash and Silverlight anymore that require browser plug-ins.
That doesn't mean that JavaFX is not useful for anything. But I would not use it for web based applications.
Chris R Barrett wrote:If you are developing using Swing (web Applets or desktop JFrames), I've found the Eclipse WindowBuilder extension is very good and easy to use - https://www.eclipse.org/windowbuilder/
Mike Cheung wrote:Thanks but Swing is going to be replaced by JavaFX, right?
Chris R Barrett wrote:Yes, eventually. However, most of the systems I've worked with are still Swing based. And you can extend Swing apps with JavaFX. So, I don't see anything wrong with getting your feet wet with Swing.
Oracle's position on this topic:
http://www.oracle.com/technetwork/java/javafx/overview/faq-1446554.html#6
Cheers!
Chris
RyanLD
Consider Paul's rocket mass heater. |