JavaFX Links of April 2024

Here is the overview of the JavaFX LinksOfTheMonth of April 2024, published on jfx-central.com during this month.

Core

Gluon published new releases of JavaFX: 22.0.1 and the LTS releases 17.0.11 and 21.0.3. You can get them from Maven Central and the Gluon website.
The new builds of Java and JavaFX, that were released this week, contain several fixes related to Common Vulnerabilities and Exposures (CVE), see for example the release notes of Azul Zulu. The 3-monthly security update schedule, guarantees that detected CVEs are fixed quickly and become available in a well-organized and documented way. Thanks to the power of the OpenJDK community!
Johan Vos is “Fixing one test at a time to get JavaFX Headless support in the core.”

Applications

JabRef 5.13 now runs on JavaFX 22: “In the Northern Hemisphere, Spring is on it’s way and we are releasing a new version with many new features and bug fixes with a focus on improving the usability (not only) for LaTeX users.”
Emad Hanif shared a video of Barcodify, a barcode generator, improving the application speed with Task-Level Concurrency vs Thread-Level Concurrency.
Sean Phillips shared a video, showing Trinity in action to detect the Biden robocall deepfake on a consumer grade laptop (as presented at DevNexus).

And Sean also shared a futuristic user interface

Games

Almas Baim shared a new experiment with FXGL: “Is it just me, or does this thing look like an eye?”

Components, Libraries, Tools

LogoRRR shared a video demonstrating TestFX “the testing framework for JavaFX applications. We use it to verify that everything works as designed .”

“There is active development to support headless execution of tests – see #803! “

Pedro Duque Vieira announced version 1.6 of FXComponents, introducing a new control: Navigation Pane. More info and a video is available here.
Dirk Lemmermann announced version 3.1.0 of PDFViewFX: “It contains a fix for the zooming bug and cleans up the use of CSS. You can find the source code on GitHub and the artifacts on Maven Central.”
Dirk Lemmermann shared a lot of updates for the GemsFX library, thanks to contributions by Li Wang Yang. GemsFX is a collection of custom controls and utilities for JavaFX, see sources on GitHub. Here are some screenshots:

LimitedTextArea, which allows you to specify the maximum content length (and is resizable as it inherits from ResizableTextArea).
Responsive pane, which allows you to show a node on one of the four sides either fully or in a smaller size depending on available space (or not at all when there is too little space).
Circle progress indicator.
EnhancedPasswordField, which gives you additional capabilities compared to the standard #avaFX password field (e.g. “show password”).
Tree and graph view.

Conferences

Gregor Schmid wrote a blog about the JFX Adopters Meeting in Munich: “JavaFX – More alive than ever. It was an impressive demonstration of the diverse activities of the FX world: organized with a lot of passion by Christian Heilmann.”
Matt Raible shared: “This was an awesomely energetic talk by Sean Phillips! I enjoyed it immensely. Check out his Trinity project which can detect AI-generated audio in minutes. Built with JavaFX.”

Tutorials

New tutorial by Dave Barrett: EventHandlers, Listeners and Bindings – What to Use Where: “The more that I work with JavaFX, the more that I am convinced that it is one of the best frameworks for building “Reactive User Interfaces” that’s out there.”
Abhinay Agarwal wrote a blog post: Platform preferences API: ColorScheme usage: “JavaFX 22 introduces several new features and enhancements. One of the notable additions is the Platform preferences API, which provides developers with a convenient way to access platform-specific preferences and adapt their applications accordingly. In this blog post, we’ll explore the new APIs and demonstrate how to leverage them in your JavaFX applications.”
Hantsy Bai rewrote the Cargotracker regapp in Quarkus and JavaFX: “The original Cargotracker regapp from Eric’s DDD book sample was written in Swing and Spring. I have created a variant of CargoTracker Regapp (CDI/Weld + JavaFX) to submit handling events to the cargotracker core system (forked from eclipse-ee4j/cargotracker).”
The blog and videos by Frank Delporte “Search in Documentation with a JavaFX ChatGPT-like LangChain4j Application” are now also published on Foojay.
Loïc Lefèvre wrote on Medium: “Building JavaFX app native image with GraalVM: New achievement unlocked!
Rushi Bhatti shared a video showing three small JavaFX experiments, you can find the sources on GitHub:

Tic Tac Toe (basic gameplay)
BMI Calculator (calculates your Body Mass Index)
Indian Flag (a simple tribute)

Small code example by Manfred Riem: “Having some fun with JavaFX. How do you add a ToolTip to a cell in a TableView?”

Miscellaneous

Sean Phillips played around with 3D cylindrical projections: “Setup a system that can convert the pixels of an image to a 3D scatter plot wrapped around a cylindrical projection, using the color hue as an elevation offset to the base radius.”
WhiteWoodCity: ”I made it, I made it. Successfully use Vulkan to create a triangle and then export to the javafx writable image to display it.” Check GitHub for the source code.
Pavel Perikov shared a video: “I just wanted to experiment with the canvas rasterisation performance, but now I developed some empathy to the life of the 1000 circles involved.”
Pedro Duque Vieira created a song with Suno: “JavaFX all the Way”…!

And Almas Baim did something similar with FXGL.

Sean Phillips is “so close to having a Cylindrical Surface projection based on an arbitrary data grid working…”
For macOS 14 users: Gerrit Grunwald published a new version of JDKUpdater with the ability to download builds of OpenJDK from different distributions, with or without JavaFX included. Sources and releases are available on GitHub.
Do you want to use JavaFX on the Raspberry Pi? Thanks to contributions by Robert von Burg, the Pi4J JavaFX example project downloads JavaFX 22 from the Gluon website automatically when you build the application with Maven.

JFX Central

On Foojay.io, you can find an overview of all the JavaFX Links of March.

Sponsored Content

Jakarta EE 11: Beyond the Era of Java EE

This user guide provides a brief history of Java EE/Jakarta EE and a detailed overview of some of the specifications that will be updated in Jakarta EE 11.


Get Started

The post JavaFX Links of April 2024 appeared first on foojay.