From 868d82176697c6890214505f413b0371da016381 Mon Sep 17 00:00:00 2001 From: Abhinay Agarwal Date: Tue, 19 Mar 2024 19:41:36 +0530 Subject: [PATCH] JavaFX 22 release (#80) --- config.toml | 10 +++++----- content/highlights/22/_index.md | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 5 deletions(-) create mode 100644 content/highlights/22/_index.md diff --git a/config.toml b/config.toml index fa1dace..66742c3 100644 --- a/config.toml +++ b/config.toml @@ -33,7 +33,7 @@ theme = "hugo-elate-theme" # postpended links [[menu.postpend]] - url = "/highlights/21" + url = "/highlights/22" name = "Highlights" weight = 1 @@ -104,19 +104,19 @@ theme = "hugo-elate-theme" [[params.documentation.reference.item]] title = "API documentation" - url = "/javadoc/21/" + url = "/javadoc/22/" [[params.documentation.reference.item]] title = "Introduction to FXML" - url = "/javadoc/21/javafx.fxml/javafx/fxml/doc-files/introduction_to_fxml.html" + url = "/javadoc/22/javafx.fxml/javafx/fxml/doc-files/introduction_to_fxml.html" [[params.documentation.reference.item]] title = "JavaFX CSS Reference Guide" - url = "/javadoc/21/javafx.graphics/javafx/scene/doc-files/cssref.html" + url = "/javadoc/22/javafx.graphics/javafx/scene/doc-files/cssref.html" [[params.documentation.reference.item]] title = "Release Notes" - url = "https://github.com/openjdk/jfx/blob/jfx21/doc-files/release-notes-21.md" + url = "https://github.com/openjdk/jfx/blob/jfx22/doc-files/release-notes-22.md" [[params.documentation.community.item]] title = "FXDocs" diff --git a/content/highlights/22/_index.md b/content/highlights/22/_index.md new file mode 100644 index 0000000..61f2883 --- /dev/null +++ b/content/highlights/22/_index.md @@ -0,0 +1,35 @@ +--- +title: "JavaFX 22 Highlights" +section: "highlights" +styleclass: "content" +--- +# JavaFX 22 Highlights + +JavaFX version 22 has been released. We've tailored down some of the most exciting parts of the release in this document. + +Exciting features: +- New APIs: + - Platform preferences API to fetch UI settings of the operating system. This allows developers to create themes that can integrate seamlessly with the color scheme of the operating system + - Added support for additional css properties in ImageView: `-fx-preserve-ratio`, `-fx-smooth`, `-fx-fit-width`, `-fx-fit-height` + +Improvements: +- Major performance improvements for css rendering in JavaFX +- JavaFX printing has got some improvements + +The community came together to fix 76 bugs in the last 6 months. Following are major bug-fixes that went into JavaFX 22: + +- Fix for correct paper size when using JavaFX print functionality +- Multiple fixes for correct application behavior in macOS 14 Sonoma +- `Node#lookupAll` now returns nodes according to selectors containing pseudo-selectors +- TextField pasted characters used to be make the cursor one character off the right most character. This issue is now fixed. + +Finally, these are some dependency upgrades in JavaFX 20: +- Upgraded Glib to 2.78.1 +- Upgraded GStreamer to 1.22.6 +- Upgraded WebKit to 616.1 +- Upgraded libxslt to 1.1.39 + + +A more comprehensive list of all the changes in JavaFX 22 can be found on [Github](https://github.com/openjdk/jfx/blob/jfx22/doc-files/release-notes-22.md). + +Kudos go to the fine people at [Gluon](https://gluonhq.com) who took care of the bulk of the work on JavaFX 22. Do check their [JavaFX Long Term Support](https://gluonhq.com/services/javafx-support/) services.