JavaFX Links of December 2023
This is the final JavaFX LinksOfTheMonth review for 2023. It was an amazing year with many evolutions in Java and JavaFX and a complete “fresh” version of JFX Central. Thanks for following these updates and looking forward to more of your JavaFX work in the new year…
This is the overview of the LinksOfTheWeek that got published on jfx-central.com during December.
Core
- JavaFX 22 Early-Access Builds, Build 19 (2023/11/24), is available on jdk.java.net/javafx22.
- Dirk Lemmermann is happy with a pull request in OpenJFX “that finally adds styling support to the fitWidth / fitHeight / preserveRatio / smooth properties of the ImageView class. I always wondered why they were missing. Turns out they were simply forgotten (but a TODO was in the source code :-)).”
- A little insight into the OpenJFX project by Johan Vos: “We often get requests about ‘Why don’t you provide a JavaFX build for this or that platform?’ The short answer: it’s easy to create a one-time build with some parameters, but it’s hard to maintain. And expensive. Our AWS bill is impressive. And since all our OpenJFX builds are available for free, this is really a major cost for us.”
Applications
- RNArtist is doing amazing user interface work… This is only one of his recent messages: “If the RNA 2D layout selected at first doesn’t fit your needs, RNArtist will provide you a new panel to compute and preview alternate layouts.”
- An impressive and super-smooth first timeline management demo of the personal After Effects app by Alessio Vinerbi.
- A video by Alessio Vinerbi introducing the first time interpolation demo of MoonsonFX, his personal After Effects written entirely in JavaFX.
- A new teaser video by Alessio Vinerbi of MoonsonFX, a JavaFX animation tool.
- Donald Raab uses the Jackson library to persist his JavaFX ToDo List to JSON.
- Divyanshu Yadav is working on a weather app: “Dear Web Devs! JavaFX is also in the race!!”.
- Heshan Kariyawasam shared some nice projects again!
- A JavaFX-based statistical calculator: “Quickly compute mean, median, mode, and variance with an intuitive user interface.”
- A Dynamic Background Demo that dynamically adjusts the background image to fit the screen dimensions. It utilizes JavaFX’s Stage and ImageView components to create a responsive background. The app also includes functionality to open a new window, demonstrating basic window management in JavaFX. The video shows a cool use of multiple windows in one application.
- And on Foojay.io, his first blog was published: Creating Executables For JavaFX Applications: “Let’s take a look in this article at the current state of what can be done with jpackage and GitHub Actions to create executables for JavaFX applications.”
- Patrik Karlström is updating rsync GUI, an application he wrote in 2015: “Today I ran my first #backup with the next version based on NetBeans Platform and JavaFX. Still very rough around the edges though.”
Games
- Almas Baim is working on new features for FXGL:
- “The current version of the FXGL engine can only show up to 5 dialogue options. The next version will use a scroll bar, where needed, to show any number of options, as can be seen in the demo.”
- “Adding NPCs that can act as companions somehow instantly makes it more interesting to explore the world.”
- Almas Baim shared a new proof-of-concept of the node inspector panel in FXGL, which allows editing various node properties: “This way each dialogue node in the main UI just captures the text associated with it and reduces visual clutter”.
- OrangoMango published a trailer of RailTheWay on YouTube: “A game made in Java/JavaFX without the use of any game engine. Guide the trains to their station. Each train has a color that represents its destination. Sometimes there are some cargo trains that disturb you, try to let them go away and be sure to avoid the cars on your way!”
- Sulaimon Muhammad shared a brief video of the “Who Wants to Be a Millionaire” game developed using JavaFX and Hibernate: “Exciting things happening with Java!”
- London Softworks is building a custom 2D game engine in Java and shares the progress in various tweets.
- Frank Delporte published “A JavaFX Game Application in a Single Java File with JBang and FXGL”. A video walk-through together with Almas Baim will follow soon…
Components, Libraries, Tools
- Gerrit Grunwald is bumping his libraries to JDK 21.
- PhoneNumberFX by Dirk Lemmermann got extended: “The field can now automatically create prompt texts showing you example phone numbers for the selected country”, and more.
- yWorks, a software library for visualizing, editing and analyzing graphs, shared their newest update which is compatible with the latest JDKs.
Podcasts, Videos, Books
- In the third part of the Foojay J-Fall Report Podcast, Gerrit Grunwald and Anthony Goubard talk about desktop application development with Java.
Tutorials
- On Foojay, part 1 of a series by Christopher Schnick, the creator of XPipe, was published: “Java for desktop applications: Tips and Tricks”.
- shiratsuyudachi asked ChatGPT to create a minimal JavaFX application.
- A new tutorial by Dave Barrett: “An introduction to ListView and understanding how to use it to display something more than just lists of Strings.”
Miscellaneous
- Graham Billington is looking for help: “What the hell is happening with this light and how do I make it stop?”
- Jonathan Giles is sharing good memories to when he was working on JavaFX at Sun.
- Heshan Thenura shared a GitHub repository that shows how to create JavaFX executables with jpackage for all platforms.
- Heshan Thenura’s screen got invaded by a little Samurai walking on his task bar. A fun demo project using animated GIFs and a transparent stage.
- Michael Schnell created a JavaFX CDI Example project (Java 17 with “jakarta” namespace, Maven build, GitHub build, Sub controllers, Blocking UI, About dialog, Exception dialog, TestFX unit test). There is also a JavaFX CDI Archetype based on it that allows easily bootstrapping your own project.
- Divyanshu Yadav needs some serious UI suggestions…
- Dirk Lemmermann now has an “official JavaFX” office.
- Gail Anderson has a call for all JavaFX developers: “Please let the GraalVM team know that JavaFX and mobile is important by filling out this survey.”
JFX Central
- The bundled overview of the JavaFX Links Of The Week of November, got published on Foojay.io.
- The main menu of JFX Central got reworked as we ran out of space, because… we added a complete new section: “Learn”!
- You can already find a few new pages with content provided by Edward Nyirenda Jr., Gail Anderson, and Frank Delporte.
- In the coming weeks, months,… we will be adding more of this, including new videos.
- Learn JavaFX: from getting started with JavaFX to all the components that are available. This will become the largest section.
- Learn JavaFX for Mobile: how to create applications for Android and iPhone.
- Learn JavaFX on Raspberry Pi: build user interfaces on the Raspberry Pi to interact with electronic components.
- Thanks to Florian Kirmaier and Li Wang Yang for the integration of this new section in JFX Central and some required new features in JPro!
- Several tutorials were added to the “Learn JavaFX” section a week later, with content provided by Edward Nyirenda Jr.: