r/JavaFX • u/FrankCodeWriter • Jul 24 '26
I made this! Sheetmusic4J: an open source JavaFX library for rendering interactive sheet music (MusicXML, no WebView)
r/JavaFX • u/FrankCodeWriter • Jul 24 '26
r/JavaFX • u/sblantipodi_ • Jul 23 '26
r/JavaFX • u/rrangelox • Jul 07 '26
I'm releasing GrooveFX, a small library that extends JavaFX FXML with declarative control structures: iteration, conditional rendering, and multi‑case branching directly inside FXML.
The idea is simple: FXML is powerful but static — GrooveFX adds flow without replacing it and without introducing a DSL.
FXML doesn't support:
declarative iteration
if/else rendering
multi‑case branching
pagination without boilerplate
GrooveFX adds these capabilities using real JavaFX controls, with no magic, no hacks, no reflection tricks.
Iteration
<IterablePane items="{myList}">
<HBox>
<Label text="{item.name}" />
<Label text="{item.email}" />
</HBox>
</IterablePane>Conditional Rendering
<ConditionalPane test="{condition}">
<then>...</then>
<else>...</else>
</ConditionalPane>Multi‑case Branching
<DynamicPane test="{user.role}">
<when value="ADMIN">...</when>
<when value="USER">...</when>
<default>...</default>
</DynamicPane>Pagination
PaginatedList<User> p = new PaginatedList<>(allUsers)
p.setPage(0, 10)Declarative iteration / conditional rendering / multi‑case branching
PaginatedList for in‑memory or DB pagination
100% JavaFX controls
Works with Java, Groovy, GroovyFX
GraalVM / Gluon‑friendly
No DSL, no boilerplate, no hacks
Website: https://rrangelo.codeberg.org/groovefx
Codeberg Repository: https://codeberg.org/rrangelo/groovefx
If you work with JavaFX and want to try it out, feedback is welcome.
r/JavaFX • u/Striking_Creme864 • Jun 02 '26
When building JavaFX applications, we often need not only to inspect a node's properties, but also tweak them to see how they behave. Restarting the app every time to test small changes quickly becomes a major time sink.
So we added live property editing directly to the DevTools in our platform (TabShell). The property editor supports three simple forms: basic values, enums, and Insets, but this made UI debugging and iteration much faster.
Here's how it looks:

Sharing in case anyone finds this useful.
r/JavaFX • u/FrankCodeWriter • Apr 21 '26
I've been building MelodyMatrix, a JavaFX app for musicians, and using BentoFX for the dockable panel layout. Had some visual issues I couldn't explain and some code that felt too complicated.
Invited Matt Coley (creator of BentoFX, also known for Recaf) to look at it together. Some things from the session that might be useful to others:
Scenic View - if you are not using this for JavaFX debugging you should be. Attach it to a running process and inspect the scene graph live, same as browser DevTools. Immediately showed us what was happening with a tab header rotation issue I had been guessing at.
AI-generated code and library internals - some of the code that Claude and Copilot had produced was managing widths and visibility that BentoFX already handles. It worked, but it was fragile and conflicting with the library's own logic. Removing it fixed the issue.
BentoFX pruning - when you close a panel, BentoFX removes the empty branch and reorganises the layout. If you are also tracking widths or visibility yourself in code, things conflict in ways that are annoying to debug.
We also hit what looks like a bug around divider modes when reopening a panel.
The video is about an hour, the Scenic View section starts around 16:25.
r/JavaFX • u/FrankCodeWriter • Mar 20 '26
r/JavaFX • u/Electronic-Reason582 • Feb 18 '26
Sigo en el desarrollo de OllamaFX para su proxima versión 0.5.0 y una de sus principales caracterisitcas será poder agrupar los chats con tus LLms en carpetas, mover chats entre carpetas y la implementación de la papelera de reciclaje, que tal les parece esta funcionalidad, que mas le agregarian, a quienes deseen probar este es el repo de GitHub:
r/JavaFX • u/BlueGoliath • Sep 20 '25
JavaFX mentioned and by Gluon.
r/JavaFX • u/Immediate_Beat_3183 • Aug 19 '25
I’m coming from a web development background, mainly frontend (React, Tailwind, shadcn, MaterialUI, etc.), and I’ve just started learning JavaFX.
I know I can style everything with CSS from scratch, but I’m wondering:
Is there something similar to component libraries in the JavaFX world? Like how on the web we have shadcn, MaterialUI, Chakra, Bootstrap ready-made components that look nice and are customizable?
Are there popular UI/component libraries for JavaFX?
Do you recommend any themes, templates, or frameworks?
Any tips for making JavaFX apps look more modern and less "default desktop app"?
I’d appreciate any suggestions or resources that can help make JavaFX interfaces look polished without reinventing the wheel.
r/JavaFX • u/sonnyDev80 • Feb 27 '25
I've just released mvciFX library, which is a Java implementation of the MVCI framework, with built-in specialized Controller interfaces and a State-tracking implementation.
Javadoc and a examples are also provided.
GitHub repo: mvciFX
Let me know what you think and feel free to suggest fixes or improvements.
Ps: Hope u/hamsterrage1 will like it!
r/JavaFX • u/No_Sink_6262 • Jan 28 '25
I have some ideas for some projects I want to make that I'd like to run on Windows/Linux/OS X and also Android/iOS.
I've looked into various options, and I really like JavaFX and Gluon based on what it promises: A solution that allows you to write basically all of your code in Java and have it compiled to native across the environments I mentioned. That said, I've started to play around with it, and I find the documentation isn't great (it's more of a JavaDoc reference than some type of programmer guide), I find that there are some weird quirks and issues (for instance, I never managed to get anything to work properly when building with Gradle, but Maven seems fine), etc. And honestly, I'm quite worried that JavaFX/Gluon will be killed, or that it will simply deteriorate in terms of maintenance and usage will dwindle.
It seems that the most popular options aren't great for various reasons, such as performance issues, lack of Linux support, JavaScript (I really just don't like JavaScript). Nonetheless, I'm wondering if I should simply go with something more popular than JavaFX/Gluon. By picking a popular technology, I get a large community of people solving similar problems and writing libraries and stuff.
What is the status of JavaFX and Gluon today? Would you use these technologies for a new project? If not, what would you use instead?
r/JavaFX • u/grill2010 • May 02 '24
The last 14 months I was working on the native Windows/ Linux port of my app called PSPlay. It's a real time streaming app and the frontend is written in JavaFX. At the beginning I was torn between QT/ C++ and JavaFX/ Java but decided for the latter.
For the stream rendering I use a couple of different technologies like LWJGL, libplacebo and OpenGLFX, JavaCV/ FFmpeg to assure the best performance and low latency streaming. It uses hardware acceleration wherever possible. Some parts are open source like the libplacebo JNI wrapper (an example application is planned). An example video of the application can be found here
https://youtu.be/Kj1rVyuovWw?si=bB4oK-lCGKI2b7Nz
Some links and information about the project available here
r/JavaFX • u/ChangeCraft • Aug 24 '23
I've been immersing myself in JavaFX and I'm trying to identify if there's a library equipped with modern UI components like what we see in state-of-the-art applications like IntelliJ, VSCode, or modern web applications.
Some examples:
Advanced window management: Features like split views, drag-and-drop window rearrangement, and tab grouping.
Pop-out windows or panels: Modules that can be detached from the main application window and function independently.
Various Controls:
Sliders with custom styles and behavior
Date and time pickers with advanced formatting
Drop-down menus with search and category filters
Tag input fields, offering auto-suggestions
etc-
Customizable window title bars: Instead of the traditional OS-dependent title bar, a stylized, application-specific one that integrates more seamlessly with the UI design.
Notifications and alert systems: Both in-app toast notifications and system-level notifications with customizable appearances and behavior.
Dynamic themes and skins: Enabling applications to shift between light and dark mode, or even user-defined themes.
I feel like a good one-stop-shop library that encapsulates these functionalities is missing and would potentially bring more people to JFX. How would the community feel about initiating a collaborative project? The idea would be to pool our collective knowledge and experience to craft a top-notch library that caters to the modern UI needs of developers.
Would love to hear your thoughts, any potential collaborators, or pointers towards existing libraries that might already offer some of these features.
Thanks!
r/JavaFX • u/Birdasaur • Aug 19 '23
r/JavaFX • u/CodeDead-gh • Apr 02 '23
I just wanted to share this GitHub actions workflow for the people that are using JDK 20, Gradle and JavaFX 20. It's quite simple and will test, build and package your JavaFX application on Windows, Linux and macOS when creating a pull request on either the main/master or development branches of your GIT project.
name: Test
on:
pull_request:
branches:
- master
- development
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 20
uses: actions/setup-java@v3
with:
java-version: '20'
distribution: 'temurin'
- name: Test
uses: gradle/gradle-build-action@v2
with:
arguments: test
- name: Build
uses: gradle/gradle-build-action@v2
with:
arguments: build
- name: Build (jlink)
uses: gradle/gradle-build-action@v2
with:
arguments: jlink
- name: Build (jpackage)
uses: gradle/gradle-build-action@v2
with:
arguments: jpackageFor the build.gradle file, I make use of the beryx jlink plugin:
https://plugins.gradle.org/plugin/org.beryx.jlink
An example build.gradle file can be found here:
https://github.com/CodeDead/opal/blob/development/build.gradle
You can find a live project that uses this workflow here, although I also package an AppImage because I want to provide a portable linux executable instead of an installer:
https://github.com/CodeDead/opal/tree/development
Anyway, hopefully this can be of help.
r/JavaFX • u/milchshakee • Mar 29 '23
r/JavaFX • u/persism2 • Mar 21 '23
r/JavaFX • u/SDIDSA • Nov 09 '22
I have been working on this for a while :
jWin is a java tool that compiles and packs your java app as a windows installer
the GUI is JavaFX, jWin also uses a set of tools through the command line to achieve the desired goal
jdeps & jlink: analyze your app's dependencies and generate a minimal Java runtime image.
maven: resolve the maven dependencies of your project and pack them with the app.
innoSetup: pack the byte-code, the dependencies, and the minimal JRE into an installer
r/JavaFX • u/hamsterrage1 • Sep 01 '22
I've always felt that if you're building an application that is anything more than trivial, you need to use a framework. I've seen lot's and lots of projects where programmers just winged it and they're generally a mess.
But deciding what framework to use is a lot harder.
Why?
In the first place, nobody really seems to know exactly what these frameworks are (we're talking here about Model-View-Presenter, Model-View-Controller and Model-View-ViewModel). If you look on the web, or StackOverflow you'll find tons of descriptions and explanations, but they're all different and none of them seem to fit JavaFX quite right. At the very least, you're left with a lot of head-scratchers about how to implement the ideas in a way that makes sense.
I started out years ago with the vaguest ideas about MVC and MVP, but with the goal of building applications that went together logically and were loosely coupled. Along the way, I came to the understanding that JavaFX works best if you treat it as Reactive framework, and have a design element that represents the "State" of your GUI that you can share with the back-end.
All along, I thought I was sticking within the ideas of MVC, but I have since come to understand that I've gone my own way and come up with something new and worthwhile - at least for JavaFX. It achieves the objectives of those well known frameworks, but does it in its own way.
I've put together an article that describes how these frameworks work, what's missing and my new framework called Model-View-Controller-Interactor (MVCI). Getting into the details of MVC, MVP and MVVM is intellectual quicksand that I wanted to avoid, so it took me months to put this article together. I think I've managed to capture the core ideas behind these frameworks without getting mired into too many technical details. At this point, I'm not really too interested in them any more, as MVCI seems to be a great fit for building reactive JavaFX applications.
You might find this useful, take a look if you think it sounds interesting:
r/JavaFX • u/javasyntax • Aug 04 '22
What are some useful tools we all should consider using?
I've discovered these:
CSSFX: Hot reload allowing you to simply edit your CSS files and view the result without restarting your program
Scenic View: Shows your entire node tree and lets you edit things and find nodes etc.
r/JavaFX • u/datmt • Mar 07 '22
So I'm a long-time Sublime text (2 and 3) user and I adore such tools. However, some things that bug me most while using Sublime is:
It asks whether I want to save the files or not when I close the application
I have no way to search for open files by name
So during the weekend, I created a text editor that solves most of those problems:
It never asks whether I want to save the files or not. Files are always saved
I implement a quick search box so I can search for the file by name
What I want to improve:
Implement snapshots so I can check the history of any particular file
Search text by content (not just the file name)
Any suggestions would be appreciated.
I opened the source here:
https://github.com/datmt/Dope-Text
You can download the jar in the release section to start using the text editor right away.
Some quick tutorial:
Ctrl+N: Create new file
Ctrl+S: Save the file
Ctrl+E: Export the file to a location on disk
Ctrl+O: Open an existing file on disk
Ctrl+F: Find text in file
Ctrl+W: Close the current file
r/JavaFX • u/Persism • Feb 22 '22
r/JavaFX • u/hamsterrage1 • Feb 15 '22
It's gone now :( , but there was a question here a few days ago about how to integrate hex map based game logic with a GUI. At least I think that was the question.
Over the years, I've taken a swing at writing hex map games a few times, and I always get bogged down in the graphics part of drawing hexagons and calculating distances and putting stuff on the screen so that it lines up with the hexagons and so on, and so on...
But this time I approached it as having a grid of layout classes (in this case StackPane) styled into hexagons using an SVG path in the CSS, and then positioned in a Pane. Each hexagon has its own MVC structure and handles its display independently.
It works even better than I thought it might. So I turned it into a demonstration application and wrote an article about it:
https://www.pragmaticcoding.ca/javafx/hexmap
I think the underlying structure is pretty solid, and you could turn it into a full blown game without too much hassle. But I may be biased.

As usual, take a look if you're interested and let me know what you think.
r/JavaFX • u/mono8321 • Nov 01 '21
I'd appreciate any suggestions, and bugs, found
This project is open sourced (as it should be) but please read the README file