aspose file tools*
The moose likes JavaFX and the fly likes Should we still teach Swing? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Should we still teach Swing?" Watch "Should we still teach Swing?" New topic
Author

Should we still teach Swing?

Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
… or has JavaFX superseded it?
Hendrik Ebbers
author
Ranch Hand

Joined: Jun 24, 2014
Posts: 32
    
    6
Hi,
for all new projects I would use JavaFX. With Java 8 it is official the recommended UI Toolkit for Java. If you have big applications that are implemented with Swing you can't simple change to JavaFX. In this case a migration is the best workflow. JavaFX supports Swing integration and migration: http://docs.oracle.com/javafx/2/swing/jfxpub-swing.htm


[Mastering JavaFX 8 Controls]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Thank you

Does your book explain anything about installing JavaFX, or does it come with the usual JDK installation_
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Hendrik Ebbers wrote: . . . With Java 8 it is official the recommended UI Toolkit for Java. . . .
It would have been nice to have FX included in the Java® Tutorials, then.
Hendrik Ebbers
author
Ranch Hand

Joined: Jun 24, 2014
Posts: 32
    
    6
you can find some official JavaFX Tutorials here: http://docs.oracle.com/javase/8/javase-clienttechnologies.htm

Since Java 8 JavaFX is part of the JDK and JRE and it's in the classpath. So you don't need any specials tools or IDEs
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 40052
    
  28
Thank yoiu. I had seen that tutorial but thought it was only for use with NetBeans. Now I have read it properly, I shall have to get those samples.
John Damien Smith
Ranch Hand

Joined: Jan 26, 2012
Posts: 157
    
    9
If the student wants to:
Build apps based upon the NetBeans platform, write plugins for Intellij Idea or enhance or work with an existing framework which is built in Swing:
=> learn Swing
Build new Java client applications which do not use any of the existing Swing frameworks:
=> learn JavaFX
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Should we still teach Swing?