JavaFX Links of December 2024

Author: Frank Delporte

Original post on Foojay: Read More

Here is the last overview of the JavaFX LinksOfTheMonth for 2024. You can find the weekly lists on jfx-central.com. We hope you enjoyed all the previous editions and we promise to go on in the next year… Have a nice holiday and see you in 2025!

Did we miss anything? Is there anything you want to have included in one of the next overviews? Let us know via links@jfx-central.com.

Core

  • The OpenJFX project is looking for UI designers and developers for a new modern theme: “Ideally, this is more than a “Modena 2025” refresh. I completely agree that this is a big project, and it requires talented people to pull it off. However, there are talented UI designers and developers in the JavaFX community. I hope this will start a discussion on how a modern JavaFX user experience can look like, and how we’d be able to achieve it.
  • Johan Vos shared: “Progress. This is a screenshot from the XCode console, output from an iPhone. HelloWorld.java on iOS using hotspot (zero interpreter mode). Finally back to the point reached by the great Bob Vandette many years ago. Need to anchor this.

Applications

Games

  • Mark J. Koch: “Making some small progress on dialogs for my next point and click adventure called ‘Chiba City Blues’. It’s an unauthorized remake of Neuromancer Commodore/PC (1988/1989). Same game content, new engine and new artwork. 100% open source. So much to still do.

Components, Libraries, Tools

Podcasts, Videos, Books

Tutorials

Miscellaneous

  • Maciej Gorywoda shared on Bluesky: “This is my BSky account if anyone was interested in talking about JavaFX on Android. In fact, I have a whole repository of examples.”
  • Coding tip by Johan Vos: “VisualVM can be a great help in performance tuning for JavaFX apps. The screenshot shows the single-threaded JavaFX AppThread spends ca 2/3 of its time in “userspace” (Platform.runLater) and about 30% time in rendering (QuantumToolkit$$…).
  • Frank Delporte wrote a post for JVM Advent 2024, the JVM Programming Advent Calendar: “Coding for fun: An experiment with Virtual Threads, JavaFX, and Music! When a nerdy dad and 14-year-old music-playing son join forces and start experimenting with music and code, some nice things can happen. Did you ever present your music piece in a business dashboard with charts? Did you know that the FXGL game library can be used to generate a piano with fireworks? And can Virtual Threads play back MIDI events with just a few lines of code and thousands of threads?
  • In an ongoing discussion on Bluesky, Josh Long is asking for support: “What is the recommended way to do GraalVM images w JavaFX?
    • And a similar question by Marcin Grzejszczak: “Is there anybody out there who has managed to setup a JavaFx application so that a native image is being produced?
  • Johan Vos on Bluesky: “Combining 2 of my gigs (JavaFX and quantum physics): I think about the pulse job (the job that renders the scenegraph) as the collapse of the wavefunction. Events happen before the collapse, and the relation between events and rendering is… complex.
  • polypragmatist is looking for better JavaFX documentation: “I’m writing a new article about styling TableView. I’m trying to aim for something that can be both a tutorial and a reference and I am amazed at the depth of styling available. I’m also appalled that NONE of this stuff is documented anywhere. I’ve been researching this for hours. I mean. Would you have imagined that you can style the dots that indicate column sort order? Would you have imagined that you can style them differently for ascending vs descending? Would you have imagined that they wouldn’t have documented this????
  • A tip by Johan Vos: “_I believe MARKDOWN_HASH3bdab50a6aee2d902143dfd493d0a1a5MARKDOWNHASH is a less-known but very powerful API in JavaFX. I use it to fix performance issues in apps using ListView, where the backingList is sometimes updated very often. Sending individual ListChange events to the control kills performance, so I sync once per pulse. Interestingly, the JBS issue, JDK-8097917, for this was created by Stuart Marks who is my #1 reference for (amongst other things) Java List performance!”()
  • René Gielen created a small demo: “Stripping Spring Boot + JavaFX to the core. Feedback appreciated!” You can find it on GitHub.
  • A pro tip by Dirk Lemmermann: “Make ScenicView an integral part of your application. Define a keyboard shortcut to bring it up whenever you want, e.g. CTRL+SHIFT+S -> ScenicView.launch(scene). So helpful!” Thanks to Jonathan Giles.
  • An article in the JVM Advent by Cay Horstmann that also mentions the JavaFX application JTaccuino: “Java in the Small“.
  • Heshan Kariyawasam shared a video: “I created a fun project called Java Rabbit using JavaFX. It lets you draw on a canvas by entering simple commands. It’s just for fun, but I’m planning to add more features in the future. 🎉“. You can find it on GitHub.
  • Carl Dea: “I wish someone could create UIVerse for JavaFX developers.😁 It was my wishful thinking for the JavaFX enthusiast in many of us.

JFX Central

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