Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

JavaFX Links of October 2023

  • October 31, 2023
  • 2375 Unique Views
  • 6 min read
Table of Contents
CoreSceneBuilderApplicationsGamesComponents, Libraries, ToolsPodcast, Video, BooksTutorialsMiscellaneousJFX Central

Thanks to the Devoxx conference, there are many hours you can spend on JavaFX-related videos!

But as every month, there is a lot more to read and learn about JavaFX...

Have fun with this overview of the "JavaFX LinksOfTheWeek" that got published on jfx-central.com during October.

Core

  • Last month Java and JavaFX 21 were released. And Johan Vos already had an update: "JavaFX 22-ea+11 has just been released to maven central (and on gluonhq.com/products/javafx). This contains the much anticipated memory improvements :)"
    • "This contains a major change in some CSS processing, see this commit by John Hendrikx, that leads to improved performance (less GC). Please test and evaluate."
  • Kevin Rushforth and Johan Vos had a BOF at Devoxx in Antwerp.
    • During this BOF, some of the new features that could be included in JavaFX 22 were presented:
    • Platform APIs
    • (unlikely) CSS theming
    • InputMap/Behavior
    • Feedback was asked from the users regarding blocking issues in JavaFX itself to be able to build more amazing stuff:
    • Removal of remaining AWT dependencies.
    • Full integration with the desktop (alerts, dark/light,...).
    • Missing 3D point and line drawing methods.
  • JavaFX 21.0.1 and JavaFX 17.0.9 are now available for download from the Gluon website and from Maven Central. "Enjoy Java on the client!".

SceneBuilder

  • Version 21 is now available!
    • Refactored: Clean up DocumentWatchingController
    • Uses JDK and JavaFX 21
    • Contributors:
      • Abhinay Agarwal
      • Almas Baim
      • José Pereda
  • Scene Builder 21.0.1 RC1 is available for testing.

Applications

Games

Components, Libraries, Tools

  • A new library announcement by Pedro Duque Vieira, FXThemes: "It is a Java library that contains classes to help in advanced JavaFX theme development. Right now, it contains helper classes to change the appearance of a native window frame as well as the backdrop of JavaFX native Windows." The announcement page also contains more info about the reason of providing this functionality in a new library.
    • True Dark Mode on Windows10 will be available soon in a new release of FXThemes: "Win10 is the most used Windows version (Windows being the most used OS). This was a pain to implement. Native code is different from win11. On win10 this API is undocumented."
  • GemsFX 1.82.0 by Dirk Lemmermann with:
    • Early access version of a TreeNodeView with many configuration options (added by LeeWyatt)
    • Gives you controls / pickers for: choosing a date, choosing a date range, choosing a month, choosing a year, choosing a time, choosing a duration.
    • See the DateRangePicker control in action here.
  • JPro announced version 2023.3.0: JavaFX 21 is used by default, and many more improvements!
    • And version 2023.3.1 with a critical bugfix to handle bot traffic better, and a new feature regarding MimeTypes.

Podcast, Video, Books

Tutorials

  • Please keep an eye on Edward Nyirenda Jr's website as he keeps on giving! For instance, "JavaFX with Gradle" was published this month.

Miscellaneous

  • Pedro Duque Vieira shares a video to illustrate that a JavaFX scene graph can handle a lot of nodes: "The view on the left is using retained mode rendering. There are more than 1k nodes visible at a time and yet without major optimizations it runs fine. Tip: No need to rush to a Canvas implementation (immediate mode)."
  • Impressive 3D results by OrangoMango, considering he is running it on a Raspberry Pi: "If I render the triangles, the application runs at 5 fps.".
  • Homebookner shared a link to an interesting project by Sheikah45: FX2J - FXML to Java Builder: a post-processor that converts fxml files into Java builder source files.
  • Christopher Schnick reported some issues on new gnome-based desktops, e.g. on Ubuntu 23: "For the JavaFX devs who use the system tray, note that there are various GTK issues. If you are using FXTrayIcon, your app will freeze."

JFX Central

Sponsored Content

Redis just got a whole lot better!

We just announced a bunch of new tools and features that a simpler way to build fast, powerful AI apps.

More Info Here!

New User Interface for JFX Central, the Home for All JavaFX Information – Part 1

JFX Central is the place to be for all JavaFX info. The website is a project started by Dirk Lemmermann and has been online since 2021.

New User Interface for JFX Central, the Home for All JavaFX Information – Part 2

JFX Central is a not-for-profit team effort. Many people are involved, and any issue or pull request provided by anyone from the JavaFX community helps!

Starting a JavaFX Project with Gluon Tools

Here on foojay.io you can already find two posts by Carl Dea to get you started with JavaFX.

In this post, I want to show you yet another approach that uses the tools provided by Gluon, who are the maintainers, and the driving force behind OpenJFX.

The Gluon start website and the plugin allow you to get started with a new JavaFX project in a few clicks.

Thanks to the amazing work done by the Gluon team this also gives you a quick-start for the creation of a mobile application which can be built for both Android and iOS.

Duke T-shirt azul and javafx
A JavaFX App on ZuluFX in 60 Seconds

Learn how to use a popular distribution from Azul to build a JavaFX HelloWorld Application in 60 seconds!

I’m not sure if you’ll taken more than 60 seconds to complete the steps, but assuming your environment is setup and the JDK 11+ and JavaFX is installed you should be able to cut and paste the code in seconds.

JavaFX application created using IntelliJ
Beginning JavaFX Applications with IntelliJ IDE

This article is for the beginner who wants to get started developing JavaFX applications using IntelliJ IDE.

While this article may seem elementary for some, I believe it can help newcomers to the JavaFX platform avoid some pitfalls and really hit the ground running.

Do you want your ad here?

Contact us to get your ad seen by thousands of users every day!

[email protected]

Comments (0)

Highlight your code snippets using [code lang="language name"] shortcode. Just insert your code between opening and closing tag: [code lang="java"] code [/code]. Or specify another language.

No comments yet. Be the first.

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard