Skip to content

Commit

Permalink
JavaFX 22 release (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinayagarwal authored Mar 19, 2024
1 parent a309371 commit 868d821
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 5 deletions.
10 changes: 5 additions & 5 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ theme = "hugo-elate-theme"

# postpended links
[[menu.postpend]]
url = "/highlights/21"
url = "/highlights/22"
name = "Highlights"
weight = 1

Expand Down Expand Up @@ -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"
Expand Down
35 changes: 35 additions & 0 deletions content/highlights/22/_index.md
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 868d821

Please sign in to comment.