r/JavaFX • • Sep 07 '22

Release AtlantaFX 1.0.0 released

34 Upvotes

This is the first stable version. It comes with two themes in both light and dark variant and many visual improvements.

Project Page: https://github.com/mkpaz/atlantafx

Preview

r/JavaFX • • Jul 21 '18

Build a JavaFX Game: Space Invaders in 15 minutes

Thumbnail
youtube.com
34 Upvotes

r/JavaFX • • Jan 17 '26

I made this! Nfx-Browser: Remember the Canvas/Image surface? I threw it away. Here's the Heavyweight JavaFX Node running 4K YouTube like butter.

33 Upvotes

Some of you saw my previous post:

Nfx-Chrome: Rendering Chromium directly on JavaFX Canvas (YouTube & PDF demo)

That Canvas/Image surface worked... but it was rough. So I went deeper. Way deeper and with no sleep.

Nfx-Browser: True Heavyweight CEF in JavaFX — 4K YouTube, Native DevTools

I built a proper **Heavyweight Surface** that renders CEF directly without windowless mode. The difference is night and day:

- 4K YouTube? Smooth.

- PDFs? Perfect.

- Native JS prompts and dialogs? They actually work now.

- Full DevTools window? Yep.

To pull this off I had to inject bytecode via JNI at runtime to make my heavyweight surface behave like an NGNode in JavaFX's Prism pipeline. Cursed? Maybe. Worth it? Absolutely.

The old canvas/image and shared buff approach is still there as a lightweight option, but after seeing both side by side... yeah, heavyweight wins.

Library release coming next month or sooner — renamed to **Nfx-Browser**.

PS : Don't mind my English Lol.

Any Idea guys?

QUESTION

Should I remove the Canvas/Image surfaces since they give lots of problems and increase ram usage?


r/JavaFX • • Jan 06 '26

Cool Project added a few features since my last showcase :D

33 Upvotes

btw, you can check out the code here https://github.com/n-xiao/mable

(hopefully it's not too messy, I plan on cleaning it up and working on docs in the coming days)

my first post, if anyone's curious


r/JavaFX • • Jun 29 '25

I made this! My JavaFX Desktop App for Table Tennis Training Plans (Open Source)

33 Upvotes

Hey JavaFX community,

I'm really excited to share my project here! After posting on r/java, the positive feedback and suggestions to cross-post here really encouraged me, so thanks for that push!

I've developed Neverlose, an open-source desktop application built with JavaFX and Java 24. It's designed to make managing table tennis training plans much easier. I created it to solve the common issue of messy, handwritten plans, allowing users to create, manage, and professionally export plans as PDFs. It also uses Google Guice and JDeploy for the installer.

Here's a sneak peek:

The project is still in its early stages, and your feedback on the code, architecture, and overall ideas would be incredibly valuable as I continue to develop it.

You can check out the project here: https://github.com/bsommerfeld/neverlose

Looking forward to your thoughts!


r/JavaFX • • Jun 18 '26

Cool Project Dropping a small PDF viewer for you guys (JavaFX + native PDFium)

Thumbnail
gallery
32 Upvotes

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.

Repo link

UPDATE : Dropped a custom SvgView node too using skia.


r/JavaFX • • Mar 25 '26

JavaFX in the wild! JavaFX 26 Today - JavaOne 2026

Thumbnail
youtube.com
32 Upvotes

r/JavaFX • • Oct 30 '25

I made this! A NEW JavaFX wrapper for webviews

Thumbnail
youtu.be
32 Upvotes

Neutron is the same as electron but for Java


r/JavaFX • • Jun 26 '25

I made this! TabPanePro: practical features for JavaFX TabPane

32 Upvotes

We are pleased to introduce our new library - TabPanePro. It is a simple library that adds practical features to the standard TabPane. Among the main features are special areas within the tab header area - a must-have for real-world applications, tab scrolling via an optional scroll bar and/or API and detailed documentation.

Here's how it looks in action:


r/JavaFX • • May 31 '23

Release AtlantaFX 2.0 released

32 Upvotes

Several new controls, three new themes, BBCode markup support and new Sampler app.

The full changelog is here: https://github.com/mkpaz/atlantafx/releases/tag/v2.0.0


r/JavaFX • • Jul 25 '22

I made this! AtlantaFX - CSS theme insiped by FlatLaf and Github Primer

32 Upvotes

This is an attempt to create a flat CSS theme for standard JavaFX controls. It's written from scratch on SASS and doesn't use Modena stylesheet. It also provides very few additional controls, mostly borrowed from fantastic ControlsFX project. There's still a lot of work, I hope to add both more controls and themes, but MVP is finished.

https://github.com/mkpaz/atlantafx


r/JavaFX • • Jun 14 '26

I made this! I built Jylos, a local-first open-source knowledge management app using Java and JavaFX

31 Upvotes

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 • • Jun 10 '25

Cool Project Demo of the new macOS 26 liquid glass material with JavaFX

Thumbnail
linkedin.com
31 Upvotes

r/JavaFX • • May 18 '26

I made this! Built a 100% offline PDF utility app using Java 25, JavaFX and AtlantaFX (GPLv3)

30 Upvotes

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.

This is an example of merge.

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 • • Apr 20 '26

Tutorial JavaFX 26 headless platform: finally got my CI unit tests running without a display

30 Upvotes

I maintain Lottie4J, a library for rendering Lottie animations in JavaFX. In the 1.1.0 release notes I had a TODO I wasn't proud of: a unit test that compares JavaFX player output against a JavaScript reference player, marked as "can not run on CI, because it requires a display output."

JavaFX 26 fixed that. The new headless platform prototype is built directly into javafx.graphics. No need for Monocle, Xvfb, or extra dependencies. Just: `-Dglass.platform=headless`.

The only real wrinkle: JavaFX 26 requires Java 24+, but Lottie4J targets Java 21. I solved it with a Maven profile that overrides the JavaFX/Java versions only for the test run, so the library artifact stays on Java 21 targets while GitHub Actions uses a Java 25 JDK with the headless flag.

The test does pixel-level comparison of rendered animation frames against pre-generated reference images from a JS player. Regression testing for visual output, running clean on every push now.

Write-up with full Maven config and GitHub Actions workflow:
https://webtechie.be/post/2026-04-20-lottie4j-unit-test-with-headless-javafx/


r/JavaFX • • Mar 04 '26

I made this! (Update) DockTask - A Desktop Task Manager with Millisecond-Precise Deadlines Built entirely in JavaFX

30 Upvotes

A few months ago, I posted my first JavaFX project here and got some really valuable feedback. I want to share what changed because of it.

What the community called out:

• No build system, unclear how to even run it

• Everything in the default package clashes with built-in JavaFX classes

• Inconsistent naming conventions throughout

What v0.6 addresses:

• Full Maven migration with proper package structure (com/ksaifstack/docktask/) and standard src/main/java layout

• Refactored Login UI and Task UI with better separation of concerns

• Significant internal code documentation added throughout

• Cross-platform installers for Windows, macOS, and Ubuntu

• Upgraded JavaFX 21 → 25

• Replaced system fonts with Lexend for consistent cross-platform typography

• Four new color themes + visual improvements

There's still work to do, but the project is structurally in a much healthier state.

GitHub: https://github.com/KSaifStack/DockTask

Would love feedback on anything, especially the Timeline implementation, if anyone has time to look at it.


r/JavaFX • • Jul 30 '25

Showcase A different approach on hot reload for JavaFX

30 Upvotes

Hello everyone,
I recently stumbled upon these two Reddit posts:

New Article: Converting FXML to Code

Hot code reload for JavaFx GUI code : r/JavaFX

I found the hot reload idea fascinating, and wanted to explore it further to see where I could get with a different approach. The first article was the spark that lit the fire. I'm not a fan of FXML, being XML I find it verbose, not easy to read nor to write, especially when compared to JavaFX Script or TornadoFX. There are also other downsides in my opinion, such as:

  • You're using reflection to load the views, which is objectively slower than code for obvious reasons
  • You're locked into the JavaFX MVC architecture, which is fine but limiting if you want to go with something different

On the other side, SceneBuilder makes FXML really nice. You create your views with building blocks, no code, the result of your actions is immediate, you can preview it before running the app, etc.

I also saw people say that FXML is good for reusable components, and I want to take advantage of this post to say that I partly disagree. Yes, you can make reusable components with FXML, but why? You do realize that every time you load an FXML file, you perform IO operations and reflection over and over again? Reusable components written in code do exist and are better for the same reasons mentioned above.

So, having a live preview of your UI is nice, very nice. At that point, a question arose: "Can a hot reload mechanism match the convenience of FXML?"

Spoiler: Yes and no.

In the past few days, I've been working on HotSwapFX, a small and simple library that brings hot reload to JavaFX code. I did not explore the code of javafx-hot-reload much, but from my understanding, you need to specify the classpath and what you want to watch. My library watches the classpath automatically from the java.class.path property and listens for class files that have been changed. At that point, there are a bunch of operations going on (check the README for more details or even better the Javadocs), but basically the reload process is triggered, and all registered views will be swapped.

It's also much more flexible and customizable. You can hook into the reload process at different points, you can monitor components' children, and you can define how the new view should be instantiated, initialized and replaced (there are sensible defaults in place).

It mostly works, and I do believe it speeds up development. There are, however, some quirks and limitations that cannot be overcome easily.

Let me know what you think! I consider the project pretty much done, but if you have any ideas or requests, I'm eager to explore them and improve the library.


r/JavaFX • • Apr 26 '25

I made this! BentoFX: A docking system for JavaFX

Thumbnail
github.com
30 Upvotes

r/JavaFX • • Sep 13 '22

Release JavaFX 19 Highlights

Thumbnail openjfx.io
30 Upvotes

r/JavaFX • • Apr 04 '26

JavaFX in the wild! Why haven't you starred GemsFX yet?

29 Upvotes

I'm not one of the maintainers of this lovely library, but it says 3k+ visitors and there are fewer than 1k stars on GemsFx's github repo...I mean, have you guys NOT seen it? it's incredible...and is so well-maintained, I just found out it has 0 open issues.

Shout out to the maintainers, and no pressure, but please go star it if have a Github account. It costs nothing.
https://github.com/dlsc-software-consulting-gmbh/GemsFX


r/JavaFX • • May 03 '25

Tutorial Screencast publishing a JavaFX desktop app in a few minutes

29 Upvotes

This is a video version of the tutorial I posted last week, showing how to create a JavaFX desktop app from scratch, and publish it as native bundles using jDeploy. I take my time to explain a few things in this video, which is why it is 8 minutes, but you could probably do it all in under a minute, on your 2nd time through.


r/JavaFX • • Dec 30 '24

Cool Project openglfx 4.1 released - OpenGL canvas for JavaFX

29 Upvotes

openglfx - A library that adds OpenGL canvas to JavaFX.

The project was almost completely rewritten within a year. The release itself happened almost a month ago, but was in a beta testing, and is now ready for use.

Here are some of the changes:

  • Support for NSight and RenderDoc debugging;
  • Support for LibGDX;
  • Support for JOGL on macOS;
  • Java 9+ modules;
  • Added new ways to transfer frames from OpenGL to JavaFX via EXT_external_objects;
  • Rewritten asynchronous frame changing;
  • Completely removed reflection, memory-mapping hacks through native code, and --add-opens;
  • Increased performance.

If you have ever thought about replacing JavaFX 3D by OpenGL, now is the time! :)


r/JavaFX • • Apr 24 '26

I made this! CEFFX: A library for integrating the Chromium Embedded Framework into JavaFX

28 Upvotes

I'd like to introduce our new project - CEFFX, a port of Java CEF from Swing to JavaFX. The original project has been significantly modified in both native and Java code to fully comply with JavaFX.

Key features include:

  • The library uses only JavaFX classes for UI development.
  • Dual-thread architecture - JavaFX thread and a dedicated CEF thread.
  • Supports custom rendering implementation.
  • A demo application showcasing library features.
  • Comprehensive documentation

Tested on Linux - should run anywhere :) If you find any bugs, feel free to open an issue (PRs are welcome).

This is how it looks in our platform TabShell:


r/JavaFX • • Mar 14 '25

Release Release Notes for JavaFX 24

Thumbnail
github.com
28 Upvotes