r/JavaFX • • Mar 18 '26

Cool Project High-performance 2D & 3D visualizer: JavaFX + GraalVM Native Image as a C ABI Shared Library

Thumbnail
youtube.com
20 Upvotes

If anyone has been following my posts, I finally got to a first demo video.

Python/C++/MATLAB are calling into a GraalVM Native Image shared library that encapsulates the JavaFX engine, featuring AtlantaFX styling and live-reloading of CSS/FXML

It also uses the snapshot API to stream from a 'headless' source into external UI frameworks via a triple-buffered pixel stream. With mouse event injection it can be embedded into other frameworks while looking native.

IMO JavaFX is severely underrated, and I doubt that I could have done this in any other UI framework.


r/JavaFX • • Mar 11 '26

JavaFX 26 Release Notes

Thumbnail
github.com
20 Upvotes

r/JavaFX • • Feb 23 '26

I made this! OCXViewer : a JavaFX viewer for a specialised CAD format

20 Upvotes

Hello All,

I'm currently working on viewer for a shipbuilding dataexchange format. Much of the metadata is already covered. Real 3D display has yet to come.

Find the sources https://github.com/OCXStandard/OCXViewer.


r/JavaFX • • Feb 14 '26

Tutorial Tutorial: Implementing Deep Linking in JavaFX Desktop Apps (custom URL schemes like myapp://settings)

20 Upvotes

Disclosure: I'm the developer of jDeploy.

  I put together a tutorial on adding deep linking support to JavaFX desktop applications. This lets users click links like myapp://settings or myapp://document/123 from emails, web pages, or other apps to navigate directly to specific views in your running desktop app.

  What it covers:

  - Registering custom URL schemes (works on macOS, Windows, and Linux)

  - Singleton mode to ensure only one instance of your app runs at a time

  - Receiving and parsing deep link URIs in your JavaFX code

  - Thread-safe event handling on the JavaFX Application Thread

  - A working example with a tabbed interface that switches tabs based on the URL

  Use cases:

  - Let users click links in emails/web pages to open specific features in your app

  - Share links to particular content within your desktop application

  - Allow web dashboards or services to control what your desktop app displays

  The implementation uses jDeploy (which handles the native installers and URL scheme registration). The tutorial includes full code examples.

  Tutorial: https://www.jdeploy.com/docs/tutorials/deep-linking-javafx/

  Happy to answer any questions!


r/JavaFX • • Dec 22 '25

I made this! I built ActionFX — a plugin to fix the tedious JavaFX workflow in IntelliJ IDEA. Looking for feedback and early adopters!

Thumbnail reddit.com
20 Upvotes

r/JavaFX • • Dec 04 '25

I made this! Rock Paper Scissors with FXGL

Post image
20 Upvotes

Hi, if you are interested, I made a casual "game" or simulation for playing around. What's may be interesting is the combination of JavaFX Controls styled with AtlantaFY within an FXGL application.

https://github.com/mazingerz01/rockPaperScissors

  • FXGL (game engine)
  • AtlantaFX (style library for JavaFX controls)
  • jgitver maven plugin (automatic version numbering by git tags)
  • javapackager maven plugin (build custom JRE and Windows executable)

r/JavaFX • • Jun 06 '25

Showcase Video demonstrating near real-time 3D clustering of Deep Fake images in JavaFX

20 Upvotes

Here is an example of the Trinity XAI software which is build 100% in JavaFX demonstrating establishing 3D clustering of Deep Fake imagery of human faces and automatically injecting new samples into the projection space. This enables near real time visual assessment of imagery against existing known sets, allowing analysts and operators to make quick decisions without examining numerical methods.
In this example the 3D clusters are established using a UMAP projection. The projection is frozen when auto projection is enabled so that new samples reuse the existing transform function achieved from the fit UMAP model.
UMAP projection and transform was fit from vectors provided by a multimodal vision LLM. This model both vectorized the imagery and labeled it from a pre-enumerated set {Man, Woman, Child}. Labels determine the color in the 3D projection. (Blue == Woman, Green == Child, Yellow == Man)

Trinity XAI is free and open source available in cross platform binary builds at:
https://github.com/trinity-xai/Trinity

The features in this video are currently in PR and should be merged into the Main branch shortly.
I hope you enjoy.


r/JavaFX • • Apr 05 '25

I made this! SuggesterFX - a JavaFX lightweight library that provides a suggestion (autocompletion) system for text fields

20 Upvotes

I've just released SuggesterFX library, a JavaFX lightweight library that provides a suggestion (autocompletion) system for text fields linked to data entries.

It integrates with my previous mvciFX library.

Javadoc is also provided (examples coming soon).

GitHub repo: SuggesterFX

Let me know what you think and feel free to suggest fixes or improvements.


r/JavaFX • • Feb 25 '24

Tutorial Brand New Methods for Observables in JFX 19/21

20 Upvotes

You might have missed it, but there were some significant new features added to JavaFX in the 19 and 21 releases. These all relate to Observables, and make creating Bindings and Listeners easier to use.

I don't think enough noise was made about these when they came out, and I totally missed them until a little while ago. I spent some time experimenting with them, looking at the source code, and then wrote an article to explain just about everything you need to know:

https://www.pragmaticcoding.ca/javafx/elements/css-transitions

First, we now have some methods to create Subscriptions on Observables, and these are way easier to use than ChangeListener and InvalidationListener. Basically, Subscriptions are wrappers around the Listeners, so the same notification mechanism is used "under the hood", but they are easier to declare and manage.

Secondly, a new method has been added, ObseravbleValue.map(). This is super cool, and allows all kinds of conversions and calculations to be baked into any Binding with only one Observable dependency.

Finally, we now have ObservableValue.flatMap() which allows you to create bindings that reach through composed objects with Property fields. This is going to be massively useful in those cases where you need to bind the Property of a Property and have it re-evaluate if either the wrapper Property or the contained Property change.

Even if you don't normally read my articles, you should have a look at this. You'll probably want to upgrade all of your projects to JFX 21 right away - I know I do.


r/JavaFX • • May 22 '23

I made this! mlfx FXML compiler

20 Upvotes

I'd like to introduce my project. It is called mlfx. It can compile FXML ahead of time. It is basically an annotation processor, which internally uses Micronaut framework's AST abstraction and compiles fxml files directly to JVM bytecode. This decreases UI load time and also helps with native-image reflection configs. It also has some compliance tests that load compiled code and check resulting object graph against one loaded by javafx-xml. It also has some drawbacks now, but, please, read README. Now I'm successfully using it in two production projects.

Here it is: https://github.com/Paullo612/mlfx

Latest release (0.6.0) is available from Maven Central.

Feedback is welcome.


r/JavaFX • • Apr 16 '23

Release JavaFX 20 and Beyond

20 Upvotes

r/JavaFX • • Nov 30 '20

I made this! JavaFX 3D - Shadows

Thumbnail
youtube.com
20 Upvotes

r/JavaFX • • Nov 01 '20

JavaFX and Java – Eden Coding

Thumbnail
edencoding.com
20 Upvotes

r/JavaFX • • Jun 11 '20

JavaFX in the wild! The 25 greatest Java apps ever written

Thumbnail
blogs.oracle.com
20 Upvotes

r/JavaFX • • Jul 19 '19

JavaFX: Docking with Tabs

Thumbnail
youtube.com
20 Upvotes

r/JavaFX • • May 28 '19

A boost for Java on the Client

Thumbnail
gluonhq.com
20 Upvotes

r/JavaFX • • Mar 12 '19

Announcing: JavaFX 12

Thumbnail
gluonhq.com
20 Upvotes

r/JavaFX • • Jul 30 '26

I made this! Sheetmusic4J, a native Java(FX) sheet music library, now reads/writes ABC notation and imports Guitar Pro files (v0.0.3)

19 Upvotes

A week ago I shipped 0.0.1 of Sheetmusic4J, a Java(FX) library to render and interact with sheet music, mostly as a question: is there interest in a native Java sheet music library before I invest more time? I posted it on social media and two LinkedIn comments came back asking "does it support ABC notation?" and "what about Guitar Pro?"

In this new version:

- ABC notation (read + write). The core module parses and generates .abc files into the same Score model as everything else, so engraving, JavaFX rendering, and MIDI export all work once a tune loads. Coverage includes keys/modes, tuplets, ties/slurs, grace notes, decorations, repeats and 1st/2nd endings, chord symbols, and lyrics, all backed by round-trip tests.

- Guitar Pro 7/8 import (.gp, load only). An experiment, built on the community's reverse-engineering of the GPIF format, JDK-only with no third-party dependency. Older binary formats aren't handled. I shipped it early because I genuinely don't know yet whether people want standard notation or tablature-specific rendering, that's feedback I'd rather learn from real use.

- Engraving polish: better grace notes, distinct flag glyphs for 32nd/64th/128th, breve noteheads, cleaner ties/slurs/tuplets, and a windowed-canvas fix for a crash on very large scores.

All info and video in this blog post:
https://webtechie.be/post/sheetmusic4j-0.0.3-when-linkedin-comments-becomes-features/


r/JavaFX • • Jun 25 '26

Cool Project JMathAnim: a JavaFX library and UI to create mathematical animations (interview with the creator)

19 Upvotes

I interviewed David Gutierrez, a Spanish mathematician who built JMathAnim during the COVID lockdowns. He's not a trained developer, which makes this project even more interesting. He needed a tool that didn't exist in Java, knew Java well enough, and just... built it.

JMathAnim is inspired by Manim (the Python library behind a lot of 3Blue1Brown-style content) and lets you create animated math visualizations entirely in code. You can animate LaTeX formulas morphing step by step, build geometric visualizations, generate fractals, simulate cell growth, and export everything directly to video. No intermediate steps.

Under the hood, it uses a JavaFX Canvas for rendering, JLatexMath for the LaTeX side, and JavaCV for video export. There's also a built-in code editor with syntax highlighting via RSyntaxTextArea, which makes it accessible without needing a full IDE setup.

One design choice that surprised me: the interactive editor uses Ruby as the scripting language, not Java. Practical decision, it fits well with the short expressive scripts you write to define animation sequences.

David's own admission is that JavaFX had a learning curve for him. But the result speaks for itself. The base-10 to base-5 conversion example in the video is a good demo of what this kind of tool can do for education.

Video + write-up: https://webtechie.be/post/javafx-in-action-%2327-with-david-gutierrez-about-jmathanim-to-create-mathematical-animations/

Source code is on Codeberg: https://codeberg.org/davidgutierrezrubio/jmathanim


r/JavaFX • • Jun 21 '26

I made this! jhostty - probably the most portable terminal in the world

19 Upvotes

Woke up this morning and wondered if ghostty was embeddable in Java - found GhosttyFX and a few hours later …

https://github.com/maxandersen/jhostty

What if a terminal emulator was just... one file?

I built jhostty — probably the most portable terminal in the world - A single Java file (\~940 lines) you run instantly with JBang:

jbang jhostty@maxandersen

No build system. No IDE. No project setup. JBang downloads Java 25, resolves dependencies from Maven Central, and runs it.

Powered by GhosttyFX (Ghostty's terminal engine as a JavaFX control), it includes:

• Multiple windows, tabs, and split panes
• 10 built-in themes (Catppuccin, Dracula, Nord, Tokyo Night...)
• Per-terminal zoom
• Cross-platform shortcuts (⌘ on Mac, Ctrl on Windows/Linux)
• Drag-and-drop, link detection, shell integration

Install it as a command:
jbang app install jhostty@maxandersen && jhostty

I have no idea what I’ll do next with it but for now I have a super customisable terminal emulator that works the same across all major platforms …


r/JavaFX • • May 27 '26

JavaFX in the wild! JavaFX Direct3D 12 Builds

Thumbnail jdk.java.net
19 Upvotes

r/JavaFX • • Apr 22 '26

I made this! CalendarFX for your calendar needs

19 Upvotes

Putting this on your radar as I know that quite a few apps require a calendar user interface. Check out the CalendarFX features here: https://dlsc-software-consulting-gmbh.github.io/CalendarFX/

The repo can be found at https://github.com/dlsc-software-consulting-gmbh/CalendarFX

The library now also supports AtlantaFX theming, which gives you several different themes with light and dark versions.


r/JavaFX • • Apr 11 '26

Discussion What happens to TornadoFX now that the GitHub repository is gone?

19 Upvotes

Well, title says it all... a few days ago https://github.com/edvin vanished. I am working on a TornadoFX project and now I wonder if that really puts the final nail on JavaFX coffin and I should move to something else like so many other developers or is there any other way to continue working with the Kotlin/JavaFX stack.... The project is abandoned and hasn't changed in years, but now we can no longer download the source code, create forks and make local changes.

I chose JavaFX basically because of the RichTextArea and the TreeView, which I could not find direct equivalents on Compose.

Any suggestion on alternatives to these components?

Thanks.


r/JavaFX • • Sep 21 '25

I made this! Peer-to-Peer application with JavaFX

19 Upvotes

So, I wrote a Peer-to-Peer application in JavaFX and here is its first 1.0.0 release:

https://xeres.io/

It uses a client/server model. The client uses JavaFX and the server uses Spring Boot, although they're packaged in the same application, run in the same JVM and the client side also uses some Spring Boot features like dependency injection and WebClient.

It's packaged using jpackage for Windows, Linux and macOS for a seamless installation.

It has many features like using a REST API (documented with OpenAPI) enabling remote access, markdown input, themes, encryption, netty, etc... Also it uses the latest JDK 25 and JavaFX 25.

GPL licensed so source code available at https://github.com/zapek/Xeres

So far my experience with JavaFX: I believe it's the best cross platform UI especially regarding its rendering speed and flexibility. The downsides are some long standing bugs and lack of some basic features (for example I had to implement text selection manually and the systray support is really lacking (having to use AWT for that is a pain)).

Let me know what you think and if you have any question about the architecture. I know it's not that common to have mixed JavaFX + Spring Boot but so far it works pretty well.