JavaFX version 20 has been released. We’ve tailored down some of the most exciting parts of the release in this document.
JavaFX 20 is compiled with
--release 17 and thus requires JDK 17
or later in order to run.
If you attempt to run with an older JDK, the Java launcher will exit with an error message
indicating that the
javafx.base module cannot be read.
install. It allows the skin to safely make changes to its associated control, like registering listeners, adding child nodes, and modifying properties and event handlers
when, simplifying management of listeners
In the bug fix department, you’ll find, among others:
Finally, these are some dependency upgrades in JavaFX 20:
A more comprehensive list of all the changes in JavaFX 20 can be found on Gitee.