- Loading...
This document serves as a guide for developers familiar with JavaFX from JDK 8 who wish to take advantage of the open source, stand alone, JavaFX bundle available for the latest JDK Feature releases.
Note : Please see the JDK migration guide for information on migrating your application from JDK 8u to newer JDK versions. This document covers the additional information specific to JavaFX.
While JavaFX generally takes care of the backward compatibility, a migration from JavaFX-8u to the current version of JavaFX is a big leap. A lot has changed between JDK 8 and later releases. Almost all of those changes will be beneficial, but there are a few that will require some adjustments to application's code.
Why is this a significant leap?
A list of deprecated classes and APIs is available at -
https://download.java.net/java/GA/javafx24/docs/api/deprecated-list.html
An exhaustive list of new classes and APIs is available at -
https://download.java.net/java/GA/javafx24/docs/api/new-list.html
Here is a list of most important changes -
The security manager, which was used by some client applications, is no longer available. See https://openjdk.org/jeps/486 for details.
Important new APIs -
javafx.scene.control.skin | New package containing several Skin classes | |
New package containing several CSS related classes | ||
javafx.application | Platform.enterNestedEventLoop(Object) Platform.exitNestedEventLoop(Object, Object) | |
javafx.stage | Window.getWindows() | |
javafx.fxml | javafx.fxml | |
javafx.graphics | javafx.scene.text | Font.loadFonts(InputStream, double) Font.loadFonts(String, double) |