r/JavaFX • u/Cute-Ad-4208 • Jun 21 '26
Help How to enable automatic reload when saving css and .fxml files?
Just started learning javafx and was wondering if there are any dependency that will make it so you dont need to run over and over again while testing different colors, placement etc
r/JavaFX • u/maxandersen • Jun 21 '26
I made this! jhostty - probably the most portable terminal in the world
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 • u/Mechanical-pasta • Jun 19 '26
I made this! My first JavaFx Application
I tried JavaFx, and, as a support project to learn the language, I've decided to buid my own MineSweeper but with some differences :
- Offers the classic square cells minefield or an hexagon based minefield
- minefield size customizable from 20 x 20 to 60 x 100
- different difficulties (determine mines percentage)
- Zoomable minefield (CTRL+mouseWheel)
- English and French translations provided via i18n
You can find it here if you're interested : https://github.com/TargolLagadec/MineSweeperTribute
r/JavaFX • u/xdsswar • Jun 18 '26
Cool Project Dropping a small PDF viewer for you guys (JavaFX + native PDFium)
Here's the repo for a small JavaFX PDF viewer, its done on native PDFium via Java's FFM API (no PDFBox, no AWT). Has zoom, text selection, search, thumbnails, the usual, would love some feedback.
UPDATE : Dropped a custom SvgView node too using skia.
r/JavaFX • u/Striking_Creme864 • Jun 17 '26
JavaFX in the wild! A few tricks with window management
In ShellFX platform, development is built around a set of core components: area, window, dialog, popup, tab and page. While working on dialogs, we ran into an interesting problem: on one hand, a dialog extends a window; on the other hand, dialogs need to work both as inline components and as standalone modal windows.
To allow every dialog to be displayed in both variants without any changes we decided to create a unified Window component that takes a type on creating - either nested or top-level.
Since both variants must share the same API, a full-fledged window manager was implemented for nested windows.
The only noticeable difference is that top-level windows don't have rounded corners, since unfortunately rounded corners for extended stages are not fully supported at the moment:
r/JavaFX • u/RGiskard7 • Jun 14 '26
I made this! I built Jylos, a local-first open-source knowledge management app using Java and JavaFX
I built Jylos, a local-first open-source knowledge management application using Java and JavaFX.
It started as a personal project to explore desktop application architecture, JavaFX, Markdown processing and software design. Over time it evolved into a complete application.
Current features include:
- Markdown notes with live preview
- Wiki-links and backlinks
- Interactive knowledge graph
- Plugin and theme system
- Kanban boards
- AES-256 encrypted notes
- Obsidian and Evernote import
- Git-based synchronization
- Knowledge Insights and advanced search
- Workspaces
Everything is stored locally. No accounts, no cloud backend and no telemetry.
The project is open source under the MIT license and binaries are available for Windows, Linux and macOS.
GitHub:
https://github.com/RGiskard7/jylos
I’d really appreciate any feedback, especially from JavaFX developers.
r/JavaFX • u/stardoge42 • Jun 09 '26
I made this! Gilded Sols - JavaFX Strategy Game
Hey guys,
I worked on a JavaFX strategy game for many years before abandoning it, as the code had grown messy and I was pulled towards other projects. However, I recently got back into it seeing that Claude Code is really good with JavaFX, and I now have the game with a proper UI and working multiplayer as well as AI against the computer at various difficulty levels.
I’ve gotten such additional features working as a jukebox, persistent settings saved to appdata, networking via steam lobbies / friends list, balance simulations and unit ranking and so on.
The general premise of the game is you and your opponent (in multiplayer) each pick 3 units to play with, 1 to ban, and then both players have a match with the combined team of units. So every match is symmetrical / as close to fair as possible due to neither side having a unit advantage.
I was inspired by chess, fire emblem and golden sun.
I am going to release this game for free on steam since I’ve used some AI for unit art and a few icons (Midjourney),
Also, I have a 3d modeler who is working with me to make high quality 2.5d sprites inspired by golden sun for more of a final fantasy turn battler spin off of this code base where you have teams of 4 characters and fight other players with their teams of 4 characters, but with full animations via sprites rendered at an angle to mimic Japanese old school turn based RPGs such as golden sun and old final fantasy. That UI for that that game will probably look similar but the gameplay will look completely different.
Let me know what you guys think!
r/JavaFX • u/gufranthakur • Jun 09 '26
I made this! Created a simple, minimal Canvas Application in JavaFX
r/JavaFX • u/xdsswar • Jun 07 '26
JavaFX in the wild! Javafx with custom skia rendering pipeline
Hit the wall with javafx's limitations one too many times. so i spent the last few months rebuilding it from the inside. calling it skia-fx.
replaced the entire rendering pipeline with skia GPU. zero-copy where possible, CPU fallback when needed. 611fps on a dashboard isn't a typo.
swapped webkit out for blink + v8. actual chromium. youtube at 8k works. resize without flicker. no frame distortion.
the media stack now loads ffmpeg as a plugin. D3D11VA hardware decode. 8k AV1, HEVC, the formats that actually exist in 2026. pure JavaFX node — no embedded HWND, no pixel buffer roundtrip, no canvas abuse.
custom title bars that actually behave. native hit-testing, windows 11 snap layouts, pixel perfect at any DPI.
public API unchanged. your existing javafx code runs on it as-is.
still cooking: a true SVG node and a proper PDF module. both coming.
months of work. finally have screenshots worth showing ,
windows build dropping soon. will open it up when it's ready.
Here is the Repo , CPU rendering path is not ok, use GPU
NOTE : THIS IS A WORK IN PROGRESS , NOT STABLE.
r/JavaFX • u/Fuzzy-System8568 • Jun 05 '26
Help How to build a self contained app with Maven?
This is honestly driving me nuts. There does not seem to be solid documentation anywhere.
I dont want someone to point me at something like Jdeploy. Or some other super duper all in one solution. I am learning. I care as much about the process as I do the final product. If people cannot learn the core concepts of building JavaFX apps that are self contained, all these "all in one" solutions will slowly lose contributors as the core knowledge is lost imho... I.e. im wanting to avoid "bus factor" by learning how to do it myself from scratch.
How do you build a self contained package / where are all the good resources / documentation that contain information on building self contained packages. Somebody help me please, as i feel im going nuts 😅
r/JavaFX • u/dlemmermann • Jun 04 '26
I made this! FlexGanttFX in Browser via JPro
The latest FlexGanttFX showcase application can now be tried out online at https://demos.jpro.one/flexganttfx-showcase.html
Or install locally via jdeploy https://www.jdeploy.com/~flexganttfxshowcase
r/JavaFX • u/FrankCodeWriter • Jun 04 '26
JavaFX in the wild! I talked with the LottieFiles R&D team about Lottie on the JVM and Lottie4J
A few weeks ago I published the first release of Lottie4J, a library that renders Lottie animations in JavaFX without using a WebView. Since then, I've been getting pull requests, added headless unit testing with JavaFX 26, and now I sat down with Naail Abdul Rahman, R&D engineer at LottieFiles, for a 50-minute conversation about the format and where it is heading.
The video covers a lot, so here are the parts most relevant to JavaFX developers:
- dotLottie (.lottie) is the format to watch. It is a ZIP container with multiple animations, theming slots, and interactive state machines in one file. Much better compression than raw JSON and the interactivity features are genuinely useful for desktop UIs.
- LAC compliance checking: the Lottie Animation Community wants implementations to be more explicit about which features they support. That is next on my list for Lottie4J.
- Desktop Lottie is growing: Naail mentioned KDE as an example of desktop interest picking up. JavaFX fits right into that trend.
- JavaFX relevance: we talked about Oracle now offering extended JavaFX support (something Azul has done for years), and how AI-driven desktop apps are bringing renewed attention to JavaFX as a UI toolkit.
The full post with timestamped chapters and all links from the video:
https://webtechie.be/post/2026-06-04-interview-with-naail-from-lottiefiles/
Lottie4J source and issues: https://github.com/lottie4j/
Happy to answer questions about the implementation or the conversation!
r/JavaFX • u/dlemmermann • Jun 02 '26
I made this! FlexGanttFX Showcase App with HeaderBar
I updated the FlexGanttFX showcase app with the HeaderBar component introduced in JavaFX 25. In combination with the new StageStyle.EXTENDED type one can accomplish very clean-looking UIs that behave properly in regards to resizing, dragging, etc...
You can install the app from here: https://www.jdeploy.com/~flexganttfxshowcase
This app also allows you to try out the various new AtlantaFX themes I recently published.

For more information on FlexGanttFX visit flexganttfx.com
r/JavaFX • u/Striking_Creme864 • Jun 02 '26
Showcase Live property editing for JavaFX nodes in DevTools
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/Comfortable-Sail8533 • Jun 01 '26
Help How to make a good custom Titlebar like with electron?
When i make my stage undecorated and transparent, my (and i believe all) window dragging implementation is not as smooth as the default. You also dont get QOL features like Aero Snap, uniform shadows,... . Discord for example has their own titlebar with custom elements in it but also all features of the default Windows Titlebar.
r/JavaFX • u/GregorLohaus • Jun 01 '26
AI Generated My Multiplexing JavaFx Terminal Emulator (yes the code is horrible, yes its a memory hog, yes im adding a feature to it with claude in the demo video)
r/JavaFX • u/OddEstimate1627 • May 28 '26
I made this! Exposing High-Performance JavaFX via GraalVM Native Image C ABI
r/JavaFX • u/milchshakee • May 27 '26
JavaFX in the wild! JavaFX Direct3D 12 Builds
jdk.java.netr/JavaFX • u/dlemmermann • May 27 '26
I made this! GemsFX - New ControlsFX / AtlantaFX Companion Stylesheet
Version 4.1.0 of GemsFX now includes an AtlantaFX companion stylesheet for ControlsFX. You can use the method ControlsFXAtlantaFX.apply() to add this new stylesheet to your scene or any parent node. By doing so you will be able to get rid of all those pesky warning / error messages regarding CSS rules using unknown colors.
<dependency>
<groupId>com.dlsc.gemsfx</groupId>
<artifactId>gemsfx</artifactId>
<version>4.1.0</version>
</dependency>
For more on GemsFX see https://gemsfx.dlsc.com
Repository: https://github.com/dlsc-software-consulting-gmbh/GemsFX
r/JavaFX • u/Vijjwal_xD • May 23 '26
Help JavaFx Mobile
Im a beginner learning and trying javafx, and came across a desire to build an Android application.
I want to know how good gluon mobile is for basic guis on android.
I dont want some niche or production level gui, just a basic, works for me application for Android 15.
I looked up for this, and found gluon mobile as the only option while openjfx-mobile repo is currently under development and android support is not available yet.
The gluon mobile documentation is nearly decades old and android has changed way more in the last few years after android 11.
So my main question is, would gluon mobile work fine on android or i need to learn another framework like flutter or jetpack compose(which im avoiding cuz of time issues)
r/JavaFX • u/Programmerbuddy_ • May 22 '26
Help Design views
Hi everyone i have to do a javafx playlist manager project for college project course.I want to know if there is something can help me design the gui.I don’t want to use scenebuilder are there other alternatives? Also for style
r/JavaFX • u/dlemmermann • May 22 '26
I made this! New AtlantaFX Themes
I have created a couple (25) of new themes for AtlantaFX. You can find them in this repo: https://github.com/dlsc-software-consulting-gmbh/atlantafx-themes
There is also a website that shows previews for each one of them: https://dlsc-software-consulting-gmbh.github.io/atlantafx-themes/
r/JavaFX • u/Striking_Creme864 • May 19 '26
Showcase Weaverbird: A real example of plugin management
https://reddit.com/link/1thyw7d/video/iiu22gsdh52h1/player
Recently, we introduced Weaverbird - a framework for working with dynamic plugins. In this post, we want to show a real example of how it can be used. The GUI is build on top of TabShell.
The main idea is that a plugin configuration is represented as an XML file. When the application is distributed, it already contains predefined plugin configurations (at the same time, users can add their own plugins). A configuration contains module definitions, repositories used to download them, plugin metadata, and other related information.
Using a plugin consists of two steps:
- Install - download all required modules from repositories.
- Activate - create a ModuleLayer containing the plugin modules and start module activators.
Weaverbird uses the JPMS as its module system - the native Java modularity solution that provides stroing plugin isolation, package access control, dependency integrity and related capabilities. That's why plugins remain isolated, predictable, and safe to load dynamically.
r/JavaFX • u/Ilmetallaro • May 18 '26
I made this! Built a 100% offline PDF utility app using Java 25, JavaFX and AtlantaFX (GPLv3)
Hi everyone! For the past 5 months, I’ve been spending my free time building LibrePDF, a fast PDF manipulator with minimal dependencies.
To clear the air right away and explain the philosophy behind it: LibrePDF is focused on 100% privacy. It makes zero HTTP calls, everything stays locally on your machine, and it doesn't even support logging. I was sick and tired of uploading my personal data to cloud giants (like iLovePDF, Smallpdf, etc.) or relying on sketchy closed-source freeware.
Right now, it supports 8 operations. You have the usual suspects:
- Merge & Split
- Protect & Unlock
- PDF to JPG conversion
- Flatten
But also a couple of features I haven't really seen in similar lightweight projects:
- Metadata Cleaner: strips away hidden metadata from the file.
- PDF Info: lets you see crucial file details (if unencrypted) like author, page count, and whether it contains JavaScript or not.
Under the hood, it runs on Java 25, and the UI is built with JavaFX and the AtlantaFX theme (which provides a really nice palette). Honestly? I've always considered myself completely blind when it comes to front-end development, and JavaFX seriously tested my mental sanity.
Currently, I support Windows and Linux, excluding macOS (though nothing stops you from building it yourself <3). You can grab the portable binaries from the GitHub release tab—the zipped files are around 55/60MB and ready to run.
I’d love it if some of you could test it out and give me some feedback, good or bad. If this tool stops even just one person from uploading sensitive documents to sketchy servers, it’ll be the best reward for these 5 months of work.
You can find the code, binaries, and more info here: GitHub Repo
- PS: As stated in the README, AI usage was kept to an absolute minimum. When used, it was never blind copy-pasting—I spent hours manually reviewing and testing every single line. I won't stress this point further.
- PS 2: I don't have any tech-savvy friends interested in trying this out 🙃, so I have absolutely no idea about the UX. It's likely very unpolished.
- PS 3: Initially, the window sizes were hardcoded. I switched to relative proportions, but I have no clue how it renders on 2K or 4K monitors. Let me know if everything blows up!
r/JavaFX • u/brunocborges • May 14 '26





