r/JavaFX • u/lazystone • 16h ago
Discussion JavaFX application by a back-end developer
r/JavaFX • u/lazystone • 16h ago
r/JavaFX • u/sombriks • 1d ago
Hello All, i am studying JavaFX for modern desktop development and so far so good.
Ai am facing, however, challenges on proper use of fine-grained observability, or reactive inferfaces as they call nowadays in frontend web.
I did this sample to try to understand it better, but i am not sure if i am doing it right.
Any tip or advice is welcome to improve the way a reactive Javafx UI is supposed to be.
r/JavaFX • u/TriumviLabs • 1d ago
r/JavaFX • u/Striking_Creme864 • 2d ago

We'd like to introduce our new project, GreyWolf. It is the culmination of several years of work during which we built the infrastructure needed to make this project possible. Along the way, we created several other projects, including PatternFX, ShellFX, JediTermFX, CEFFX, Weaverbird, TabPanePro, and others. GreyWolf is where all these pieces finally come together.
GreyWolf is an integrated file management environment designed to bring together a variety of tools under one roof, which a consistent interface and seamless interaction between components. Its architecture consists of a core and dynamically loadable plugins. Our long-term goal is to develop more than 20 default plugins. Currently, five are available: Navigator, Terminal, and three DevTools plugins.
Navigator is a file manager designed to handle large numbers of files efficiently. It supports three viewing modes (Details, List, and Tiles) and uses asynchronous, two phase file loading - users see the file list immediately, while additional information, such as file type detection by content, is collected in the background. It also uses virtual flows to efficiently display large collections of files.
GreyWolf additionally features Dual Panels, allowing users to work with two instances of components such as Navigator or Terminal side by side - something familiar to users of traditional Commander-style file managers.
Both Navigator and file dialogs are built around a common FileStorage interface. Currently, we support local file systems provided by the OS. Our next step is to add support for FTP, Samba, Google Drive and various archive formats.
The project is still far from its first release, but we believe it has reached a stage where it's worth introducing to the community. You can try it by downloading a binary from GitHub Releases or build it yourself.
GreyWolf is a large undertaking, and we invite everyone who would like to contribute to its development to join us. If you'd like to be part of the journey, please check out our Contributing guidelines.
r/JavaFX • u/Antoinedeloup • 5d ago
Hi there! i'm a learning dev trying to create a simple baker's percentage formula calculator, as a desktop app written in Java using JavaFX as the frontend. I've been suggested to use it after wanting something prettier and more flexible than Swing.
However, following outdated tutorials or so many different ways to make a project with JavaFX has me very confused. As far as i understand it, i can both create the entire interface through an FXML file, namely through Scene Builder, and then through a Controller class, write the enum @FXML and create an object named the fxid of a given component, to handle events of them through methods.
Initially i thought this would be easier to do compared to designing the UI line by line in Java, but now i'm a bit troubled at how to manage events that will create new graphic elements. For example, i want to set up a container like a GridPane or a VBox with some table inside, to show the ingredient name, as well as spinners to change it's baker's percentage or it's weight used the recipe. I can mockup this really nicely in Scene Builder, adding rounded edges and pretty shadows to a wrapper container, but i do not know how to make an "Add ingredient" button, on the interface level. The method should create a new row and create spinners and labels on the correct format. I'm kind of confused at the following: do i have to manually specify what kind of css to use, in which row or position should the different elements be aligned, or can i use the padding and aligment i've already set up in Scene Builder?
Right now my thought process is, that if i have to write in Java the specifics of a button or element changing upon the user's input, i might as well just write it all on Java. I also checked the AtlantaFX Sampler app and while the source code seems really easy to understand, it's all written programmatically, and i'm confused at how to use the controls through Scene Builder...Scene Builder seems really cool to define a layout, but i'm a bit confused at the whole Controller connecting the .fxml with actual objects in Java.
If any of you could guide me a bit on some good tutorials, i'd be glad! I've been following a mix of Youtube videos, Oracle documentation, the JavaFX17 book by Kishori Sharan, among various resources. I've found a lot of help through the many guides i've followed, but also many more questions, like how some recommend different ways to set up the main Applicaton, Launc and Controller classes, and of course a lot of suggestions about using Scene Builder, yet every tutorial seems to write the UI programatically. How do you do your apps, and what would you suggest to a total novice?
Thanks for reading!
r/JavaFX • u/Fuzzy-System8568 • 6d ago
A few months ago I came here and asked how best to package JavaFX applications. I was met with people pointing me at third party tools (that abstract away the details and theory), people's own personal setups, but with little context of how / why they were setup like that and other "not quite what I was looking for" guidance.
God knows the official documentation doesn't make it easily clear. As such, it seemed there was a legitimate gap on what, to me personally, seems like a pretty fundamental step of using JavaFX.
So I decided to say "sod it" and make my own guide.
Here is a link to the repo of the project
It is quite simply a default "HelloApplication" project, but with a pom.xml setup to package the application into an OS-specific distributable that, should be JDK/JRE independent (i.e. self-contained).
Along with this, there are several markdown documents explaining the workflow of the packaging solution, along with details on each of the steps of the workflow (i.e. each plugin, the properties in the pom.xml ,etc).
The only limitation now is, I am but one developer on one Operating System (CachyOS) and would love other contributors to provide insight into the per-distro / per OS requirements (such as specific build tools like the WiX toolset), as they are quite sparse as of the moment, with that sparse nature being identified within the documentation itself.
Either way, I hope this helps anyone who, like me a few a months ago, struggled to find an explanation of how to set up packaging a JavaFX app, and was shocked to find there was next to nothing out there. 😄
r/JavaFX • u/giuzep89 • 6d ago
r/JavaFX • u/xdsswar • 13d ago
Ok, a while ago I showed an early version of my PDF engine here. A lot has changed since then, I tried everything, so here is where it stands.
Mergi is a Windows desktop PDF suite: a real viewer, full editing, comments, forms, signatures, redaction, a small word processor that writes PDFs, conversion to Word and Excel, and the everyday tools (merge, organize, split, compress, protect, watermark, batch). Every file stays on the user's computer.
It is 100% JavaFX. No WebView, no embedded browser, no Electron, no third-party UI kit. The only UI module is javafx.controls; the page view, the virtualized lists, the responsive grid, the print dialog and the editor are all built on it by hand, title bar included (StageStyle.EXTENDED + HeaderBar). And there is not one line of AWT or Swing: no BufferedImage, no SwingFXUtils, no ImageIO. Pages go straight from the engine to JavaFX.
Everything runs on jux-pdf, a PDF engine I started more than three years ago, I changed the name like 5 times already 😂, but this stay.
.docx and .xlsx (styles, pictures, tables, numbers as numbers). No Office, no POI.There is a lot to say but I suck writing posts , Im tired and AI will do a bible about this , so ask me if you got any question.
There is still a lot of work before each of these, but it is getting close. Happy to answer questions about the engine or the JavaFX side.
r/JavaFX • u/hamsterrage1 • 14d ago
It's been quite a while since I've posted about any new articles her, and honestly, I've been pretty absorbed in HomeLab stuff for about a year. But, I haven't abandoned my website. In fact I've just rolled out a complete reworking of the website. All the JavaFX content from before is still there, and easier to use now.
The old Jekyll/Minimal Mistakes layout was starting to look dated, and I also wanted to get away from GitHub Pages as the hosting service. But GitHub Pages also enabled a workflow that supported only Jekyll.
The new version is running Hugo with the Blowfish theme, and I think it looks way better than the old version. However, the underlying organizational paradigms are way different from Jekyll, so it took a lot more work than I expected to do the conversion.
I've also taken the opportunity to reorganize the JavaFX content. The old "Elements" section has been expanded into two now: "Elements" and "Techniques". "Elements" is for articles about components of JavaFX and how they work. "Techniques" talks about how to use them, and bigger picture ideas like MVCI.
As an example, descriptions about how specific standard Node classes work is something you'd find in "Elements". Instructions about how to go about creating your own custom Nodes is something you'd find in "Techniques".
Part of the reorganization was to come up with some new categories for the articles, and I've added new landing pages for those categories. When sorting through it all, I was a bit surprised at just how much JavaFX content I have, and I think the new structure makes it easier to find particular subjects.
I think in this age of AI assisted coding, there still is a place for the kind of articles I've been writing. My goal has always been to explain the first principles of all of the concepts, so that you can understand why you should do things in a particular way instead of just blindly following a recipe. I don't think that AI necessarily understands these first principles - mostly because they aren't generally available on the web, and I'm not vain enough to imagine that the models have been trained on my content.
If you new enough here that you haven't seen any of my previous posts announcing articles I've published, then you probably haven't seen my website. I think you should take a look, there is a ton of content there an just about every subject important to developing good JavaFX applications.
Be warned, though, I don't use FXML personally and I don't think anybody else should either. Also, I'm a big fan of Kotlin, and I think that Kotlin + JavaFX is a killer combination. Most of the code samples in my later articles are Kotlin. If you're a half-way competent Java programmer, you shouldn't have any trouble following the ideas behind the Kotlin code.
One of the things about the new format is that it supports multi-lingual code samples. I haven't tried it yet, but I may go back and rework some articles to include both Java and Kotlin code snippets.
Anyway, take a look at https://www.pragmaticcoding.ca and tell me what you think about the new design.
r/JavaFX • u/Tomarka • 15d ago
Hi r/JavaFX,
I'd like to share a small library I've been working on: Workbench Themes, two AtlantaFX themes called Workbench Dark and Workbench Light. They're based on the color palettes of the IntelliJ themes from Familiar Java Themes, so if you like the classic IntelliJ "Darcula"/Light look, your JavaFX app can now feel right at home next to your IDE.
Screenshots
What's inside
#3C3F41 panels / #2B2B2B editors in dark mode)-color-chart-1 to -color-chart-8) mostly use the theme's syntax colorsWorkbenchDark and WorkbenchLight implement atlantafx.base.theme.Theme, so they work with ThemeManager tooio.github.tomarkar.workbenchUsage
It's on Maven Central:
io.github.tomarkar
workbench-themes
1.0.1
Gradle:
implementation("io.github.tomarkar:workbench-themes:1.0.1")
Then:
Application.;
// or
Application.;
JavaFX itself has to be provided by your application. Building from source requires JDK 17+ and Maven; the AtlantaFX SASS sources are pulled in automatically and compiled with Dart Sass.
How it was made
Full disclosure: of course this was built with Claude Code. It handled a lot of the tedious parts like mapping the IntelliJ colors onto AtlantaFX's variables, interpolating the color scales and setting up the Maven/SASS build.
The project is MIT licensed. Feedback, issues and PRs are very welcome!
GitHub: https://github.com/tomarkar/workbench-themes
r/JavaFX • u/Guilty_Village_958 • 17d ago



I have made (using claude) a multi user Whatsapp client (using Whatsmeow) in JavaFx.
You can login up to 8 numbers, and each get's its own unique color. Two multi user screenshots shown above. The entire UI down to the level of notification is colored to make it easy to identify which user/profile.

Less than half the RAM of the regular Whatsapp for desktop

You can access your whatsapp by cli, and have claude-code do automations. However everything is permission bound, with approvals issued from the frontend ui to the cli at the process tree level. So for example you can approve the claude.exe process (a particular processid) and all it's children also get access for the given time limit and for the given scope. Approvals expire with time, or on breach of scope, or if the process ends. The approvals cannot be spoofed because named pipe (and not network tcp) is used to verify the caller process id.
Different user profiles' approval dialogues are different colored. The example shown below is not that nice, but basically you will be able to approve a claude code (or chatgpt codex) process or any process for that matter and it will be able to do things on your behalf.


It is a hobby project, it is not an official whatsapp app.
Source code and pre-release download : https://github.com/chatsgate/whatsappfx/
Comments, criticism, appreciation, suggestion, discussion --- all are welcome.
Ok, I'm a bit of an old JavaFX hobbyist. I started about 10 years ago in college and keep using it for my personal projects.
Nowadays, I feel it's so much harder to configure the environment. Even with AI help, there's always an "if this, then that." I mean, as I remember, you used to just install Eclipse with e(fx)clipse, install Scene Builder, and in the end, just generate a .jar file. Now, I can't find a guide from start to deploy that doesn't look like a workaround. And with every Java/JavaFX update, some detail changes.
How do you configure your environment to make it easier? I mean IDE, embedded DB, how to deploy, and how to distribute (I see there are some frameworks that compile JavaFX to web apps).
r/JavaFX • u/neopointer • 22d ago
I'm a newbie when it comes to developing with JavaFX, although I am experienced with java.
But as far as I can see there's no official architecture recommendations from the developers of JavaFX so I'd like to know what's the most modern architecture pattern (e.g. MVVM) for starting an app today.
And if there are resources with good real life examples to see that in practice would be great. Maybe some good quality open source apps...
Anyway, it would be great if you share your experiences as well.
r/JavaFX • u/Guilty_Village_958 • 23d ago
I made javafx version of whatsapp, slack, vscode, and a few other browser-engine/electron apps;
also made a javafx terminal with vertical tabs with feature to hibernate tabs. Altogether archived 3.5
GB ram saving. The app is also 10 times more snappier and faster. Used serial GC in most cases.
r/JavaFX • u/FrankCodeWriter • 26d ago
r/JavaFX • u/Guilty_Village_958 • 27d ago
There are 100s of markdown editor, but very few of them support WYSIWYG
But very very very few of them are written in a non-browser based stack. Most of them will be like electron apps which will eat a lot of ram for simplest tasks - and i really dislike ram eating apps.
So I have made this in javafx, and distributed as a executable for windows, it is just a 600KB exe, which downloads the jar and installs the jdk if needed.
It also generates AOT (ahead of time) image of the app upon first run, so from second run, the app will be more fast.
Ram consumption is low, 100MB you can expect. When idle it can drop even to 15MB.
It also provides vertical tabs as a default. I like vertical tabs, I am not even given option for horizontal tabs.
I just made it, I haven't even tested it much. All credit goes to claude to make it (I basically refactored one of my old editors which used ckeditor and an embedded webview ... it wasn't nice ... honestly).
Project link : https://github.com/prosefx/notepadfx/
Here is the release link - https://github.com/prosefx/notepadfx/releases/
If you are on windows, please prefer the exe version, it is just 600KB, it is self installing, auto-updating, auto-generates and uses AOT image, all the best Garbage collection and jvm flags included in the exe.
If you wish to make such exes for java please see - https://github.com/jarrunner/jr (BTW Jr.exe is written in java! From Java -> C -> Exe using teavm !!! )
r/JavaFX • u/sblantipodi_ • 28d ago
It's unfortunate that Flatpak is phasing out apps that use both X11 and Wayland.
Since JavaFX doesn't fully support Wayland yet, most JavaFX applications risk being removed from Flathub or having their updates halted.
The way I see it, the lack of Wayland support will spell total failure for JavaFX in the short term.
Oracle, are you interested in adding official support for Wayland or not?
r/JavaFX • u/FrankCodeWriter • Oct 22 '26
Hi all,
I've been working on Sheetmusic4J, an open-source Java library that renders sheet music natively in Java(FX). Two new releases are out, and I made a video showing both: https://youtu.be/8n7WONyX0yk
0.0.4
- NodeSheetView builds the score as a JavaFX scene graph, with one Group per note, rest and chord. Each element can take mouse events, effects and tooltips like any other node. The demo app lets you select a note and drag it up or down.
- FlyOverSheetView is a 3D play-along view. A perspective camera flies over the score, and a glowing ball per voice hops from note to note.
- Headless rendering to an image via the new render and render-awt modules, with no JavaFX needed:
BufferedImage image = HeadlessScoreImage.render(score, 1200);
- The 3000+ line Engraver class is split into focused packages, and all library modules are now JPMS modules.
0.0.5
- LilyPond (.ly) import and export through the ScoreFile facade, without running LilyPond:
Score score = ScoreFile.load(Path.of("bach-bwv610.ly"));
ScoreFile.save(score, Path.of("bach-copy.ly"));
- Engraving improvements: tuplet placement and nesting, octave clefs, and the percussion clef.
- Layouts are now identical across CPU architectures.
LilyPond support (and other formats earlier) came from suggestions on Reddit, so thanks to everyone who asked for it. Overrides and Scheme code are skipped, because the library does its own layout. The LilyPond page on the site lists what is supported.
It also reads MusicXML, MIDI, ABC and Guitar Pro.
The demo app has a "Report Visual Issue" button. It captures the Sheetmusic4J rendering, the reference PDF and your description, ready to attach to a GitHub issue. If a score looks wrong, that is the most useful feedback I can get.
- Release notes: https://sheetmusic4j.com/releases/
- GitHub: https://github.com/sheetmusic4j/sheetmusic4j
Feedback, issues and score files that break things are all welcome.
Thanks
Frank
r/JavaFX • u/AsharPeshimam • Oct 20 '26
Hey everyone!
I've been working on a Windows desktop application called FilzaPDF, and I've just published it on the Microsoft Store!
It's a PDF reader and document utility built with Java and JavaFX. I'm sharing it here because I want people to try it out, find bugs, and tell me what needs improvement.
🔗 Microsoft Store: https://apps.microsoft.com/detail/9P53N7DWMS1S?hl=en-us&gl=US&ocid=pdpshare
I'm currently looking for help with testing and bug fixing. In particular, I'd appreciate feedback on:
This is an early release, so I'm expecting things that need fixing. Please be honest—even small bugs or suggestions are helpful.
I'm building FilzaPDF as part of a bigger effort to create useful software that people can use for free, without unnecessary subscriptions.
Thanks to anyone willing to give it a try! Every bit of feedback helps me improve it. 💜
r/JavaFX • u/XenFive • Oct 18 '26
Hi everyone.
After starting this many years ago as a side project to test/learn JavaFX and out of my frustration of digging through massive dev logs in a text editor. This side-project sat half-finished for a long time, due to life getting in the way, but was finally able to push my log viewing app Klunk to a beta release.
It’s a Java 25 / JavaFX 26 desktop app available on Linux, Windows, and macOS.
Some features:
It’s currently beta, but I use it daily without issues and figured others might find it useful too.
Happy to hear feedback, bug reports, or feature ideas.
r/JavaFX • u/I-like-crowbar • Oct 11 '26
r/JavaFX • u/Old_Assistance7 • Sep 30 '26
Hello everyone, I'm new to Desktop development! And I want to know techniques/ways on how to handle global keyboard events! for example, cmd+shift+a to open a window etc.
Thanks :)
r/JavaFX • u/Windows_All • Sep 29 '26
Hi everyone. I’m looking for someone who could help port Ears Audio Toolkit from Chromium to Firefox.
The main reason I’m still using Chrome is this extension. I’d really like to move to Firefox, but without Ears Audio Toolkit it’s basically the one thing keeping me on Chromium.
I’m looking for a true 1:1 port, not a simplified version — ideally with all existing features working exactly as they do in the Chromium version, including the same audio processing and functionality.
I’d also like to have a Java version/port of the same functionality because I want to integrate it into one of my own projects.
I’m asking for both because I tried looking into it myself, but I’m not experienced enough with this kind of thing. From what I understand, the audio pipeline / sound transmission logic is different, and I don’t really know enough about browser audio APIs and Java audio processing to reproduce it correctly.
If someone is interested in doing this, it would be great if the Firefox port and Java implementation could be published on GitHub so they can be maintained and improved by the community.
Thanks!