JavaFX Links of February 2024

Here is the overview of the JavaFX LinksOfTheMonth of February 2024 that got published on jfx-central.com during this month.

Core

Christopher Schnick shared a video: “The JavaFX 22 platform preferences API in action. You can now query and observe the system color schemes..
Gluon announced that new EA releases for the upcoming JavaFX 22 (22-ea+28) and JavaFX 23 (23-ea+3) platforms are available for download from gluonhq.com and from Maven Central.

Highlights from the openjfx-dev mailing list

Version 23 will bump the minimum version of the JDK needed to run JavaFX to JDK 21.
A new feature is proposed: RichTextArea. “Intended to bridge the functional gap with Swing and its StyledEditorKit/JEditorPane. The main design goal is to provide a control that is complete enough to be useful out-of-the box, as well as open to extension by the application developers. We are looking for feedback, and will update the proposal based on the suggestions we receive from the community.”
Johan Vos shared the following message: “I created a branch in the jfx-sandbox repository for experimenting with a headless glass platform. This addresses JDK-8324941 where I suggest a POC for a Headless platform. There are a number of use cases for this, including:

Applications that require JavaFX rendering without presenting this to a window (and instead send it to a printer for example).
Running tests without requiring a window manager.”

Applications

Amit Kumar Mondal announced OSGi.fx v2.4.4: “Packed with enhancements, integrating Java 21 and JavaFX 21 seamlessly.” OSGi.fx is an easy-to-use desktop application to manage OSGi frameworks remotely. You can find the release notes on GitHub.
Sean Phillips is using the open source Trinity software for deep fake detection: “This clip demonstrates visualizing a 3D Fast Fourier Transform (FFT) of the January 2024 deep fake of US President Biden. Trinity is written in Java using JavaFX for rendering.”
PDFsam released the new PDFsam Basic 5.2.2: “We upgraded the bundled Java, JavaFX and few other dependencies. We also fixed/improved drag and drop of files into the selection table with autoscroll at the edges and drop of files between rows.” See the release notes.
David Youcef Khodja shared a video of Geoptic, an app to measure distances and surfaces on maps: “I’m actually using my own custom UI controls and CSS inspired by IntelliJ IDEA”, made with SpringBoot, JavaFX, Leaflet, JavaScript.
Heshan Thenura Kariyawasam is replicating Instagram’s story feature: “This Java application dynamically changes background color based on the dominant color of uploaded images.” Sources are available on GitHub.
Namuan shared a video of MirrOllama: “Desktop application to talk to multiple models using Ollama (Get up and running with large language models locally). Idea is to use multiple (up to 3) models simultaneously and select the best answer. I built it for my own use but hopefully useful for others as well.” Sources are available on GitHub.

Games

ilyriadz open sourced his JavaFX game engine “mawdja” and “My javafx game ‘Almaseer Almahtoom’ RC1 was realized.”
Almas Baim announced new speech-to-text in FXGL:

“The next version of FXGL brings the fxgl-intelligence module with a range of features. The one shown in the video is text to speech. The API is pure Java code. You can play with it very soon.”
“An example of speech to text, coming to the next version FXGL. The left app uses text to speech, the right one uses speech to text. Demo shows: Java String -> speech output (speakers) -> speech input (mic) -> String. Anyone wants to build speech controlled games? “

Heshan Thenura Kariyawasam, OrangoMango, and Sean Phillips are cooperating on X and sharing experiences.

Components, Libraries, Tools

Frank Delporte published a small update about the Lottie4J project as he is diving deeper into the Lottie-format (vector animations for the web).
Max Rydahl Andersen is expecting 2024 to be the year of Java on desktop: “We got early JavaFX support for Quarkus contribution in Quarkuverse Hub“.
Hallvard Trætteberg shared fxml-template-processor on GitHub: “String templates (preview in Java 21) allow you to inject expression values into strings, so you don’t need to use explicit string concatenation, StringBuilder or formatting. An important point of template strings is building other data types from the string and constrain and validate the input accordingly. This project contains a String template processor for FXML, so you can use template strings for FXML code and convert to Node structures with FXMLLoader.”
Pedro Duque Vieira shared videos showing work in progress on NavigationPane Control that’s in the FXComponents library, using the FXThemes library behind the scenes to achieve a background blur effect on the window.

Podcast, Video, Books

For the online JChampions Conference, Paul and Gail Anderson presented “Are You Game? Mobile Development with Modern Java, JavaFX, and GraalVM”. The video recording is available here.
At Fosdem in Brussels, Frank Delporte showed a JavaFX AI-Chat-application based on LangChain4J to interact with a documentation set. The video and links are available on his blog.
Wolfgang Weigend announced the final agenda online for the “JFX Adopters Meeting” on 6th of March 2024.

Tutorials

Published on JavaTechOnline: “JavaFX Tutorial: How To Create Rich Desktop Applications In Java?

Miscellaneous

WebFX now supports WebGL: “This means that you can program a JavaFX canvas with a WebGL context in the browser.” A web demo is available here.
Message from Johan Vos: “Laurent Bourges is an exceptional independent OpenJDK and OpenJFX contributor. I guess most of the developers using his code don’t even realise the amazing work he does. Please let him know how much you appreciate his work on the Marlin renderer.”
Dirk Lemmermann is a big fan of AtlantaFX: “We liked the sampler app of AtlantaFX so much that we are now using it in-house for our own theming / styles app.”

JFX Central

Webswing got listed in the tools section. It’s a web server that allows you to run your (old) Swing, JavaFX, NetBeans or Applet application inside your web browser in a blink of an eye. They posted a nice shoutout to JFX Central on Twitter/X.
Available soon: new detailed icon page where you can find out everything there is to know about the icon, e.g. the Ikonli “literal” (code), the CSS rule, the Java code required, the maven / gradle dependency, the SVG path, and so on. The main reason for having this detail page is so that you can send a URL to somebody else pointing directly at a specific icon and all of its info.
All the JFX Central Links Of The Week of January got posted on Foojay.io, the website for Friends Of OpenJDK.

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