Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>JavaFX is the successor to Swing, and has many advantages over Swing, including:</p> <ul> <li><p>A scene graph in which all nodes (e.g. UI components, shapes, images, containers) reside. This provides the ability to manipulate the properties of any node in UI with the result of affecting its contained nodes. For example, a Group containing some images may be rotated as a unit by applying a rotate transformation on the Group. Compare this to Swing, in which the UI is comprised of two separate worlds: UI Components and Java2D.</p></li> <li><p>The WebView node is a WebKit port that that lets you embed a web browser in the scene graph.</p></li> <li><p>CSS may be used for skinning the UI</p></li> <li><p>FXML may be used to define the UI separately from the application logic. SceneBuilder, whose output is FXML, is a tool for drawing a UI.</p></li> </ul> <p>There are currently some features that Swing developers mention that they miss, but you can take a look at the OpenJFX project <a href="http://openjdk.java.net/projects/openjfx/" rel="noreferrer">http://openjdk.java.net/projects/openjfx/</a> and participate in this very active community to influence and contribute to future versions of JavaFX.</p> <p>You may be interested in a technology position paper written by Björn Müller of CaptainCasa.com entitled "Why we use JavaFX" that discusses their architecture, including their decision to move from Swing to JavaFX <a href="http://captaincasa.blogspot.com/2013/01/why-we-use-javafx-paper.html" rel="noreferrer">http://captaincasa.blogspot.com/2013/01/why-we-use-javafx-paper.html</a></p> <p>I hope this helps, and welcome you to check out the JavaFX Community site at javafxcommunity dot com to see the latest blog posts from JavaFX developers.</p> <p>Regards, James Weaver Oracle Java Technology Ambassador</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload