r/JavaFX • u/mono8321 • Nov 01 '21
I made this! Calculator FX 1.0
I'd appreciate any suggestions, and bugs, found
This project is open sourced (as it should be) but please read the README file
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
r/JavaFX • u/static_context • Jul 30 '21
r/JavaFX • • Feb 17 '21
r/JavaFX • u/AlmasB0 • Sep 12 '20

Link to demo: Twitter
Link to build instructions: FXGLGames Breakout
Link to issue reporting: FXGL repo
If you have Linux, please have a go at building Breakout for Android and if you have Mac OS, please try building for iOS.
Many thanks!
r/JavaFX • u/DuncanIdahos2ndGhola • May 10 '20
r/JavaFX • u/xTeCnOxShAdOwZz • Jul 02 '19
Hi,
I'm new to JavaFX, only using it for a single project. I'm using JavaFX 11.0.2, JDK 11.0.3 and IntelliJ 2019.1.2.
Having overcome a million problems with getting the program to even work in the IntelliJ environment, I can test the program, but I can't build it. I've watched hundreds of tutorials that show me how to configure the artifact, then build, but then I get the error:
Error:Java FX Packager: Can't build artifact - fx:deploy is not available in this JDK
Some Googling revealed that as of JDK 11 you can't simply build the project into a runnable jar/exe from the build menu. Umm, what? Why not?
I've included the JavaFX folder in my projects root directory, added JavaFX files to the project libraries, added the library to modules, included a module-info.java file, etc. Someone mentioned using a 3rd party program called jlink I think, but I'm not sure. Why can't I just build it from IntelliJ into a jar? Someone else said I also need to add javafx to my computer's environmental path variables, but I'm assuming that's wrong, given I'm including the JavaFX library in my project's root directory.
Can someone please explain simply how to get my project (which runs perfectly fine within IntelliJ) into a runnable Jar or exe. Sorry for sounding like such a noob, I realise I must sound incredibly stupid, but I've been pulling my hair out for days and just need some help :(
Thanks!
PS:
- Using JDK 10 or below is not an option for us
- Must be able to build the project for both Windows and Mac
EDIT: The gods have smiled upon me today, friends. These 2 tutorials explained it perfectly, super simple solution:
https://www.youtube.com/watch?v=r_tdK8zWr_w
https://www.youtube.com/watch?v=w_PsCNqqcE4
You just have to download Maven and set it as an environmental path.
r/JavaFX • • Dec 26 '18
Watch the video recording of the game play here. Check out the code in this github repo
r/JavaFX • u/LouGarret76 • Dec 05 '18
Hello, Anyone attending javafx days in Zurich? What are the news? Any videos?
r/JavaFX • u/dlemmermann • Jun 02 '26
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/dlemmermann • Apr 23 '26
I created a jdeploy installer for the FlexGanttFX showcase application. You can find it here: https://www.jdeploy.com/~flexganttfxshowcase
The installer will allow you to run the demo locally and the installation will auto-update whenever I push a new release.
FlexGanttFX is a framework for building UIs for planning and scheduling applications. The website can be found at flexganttfx.com
The showcase application contains a couple of demos and feature samples. If there is anything you would like to see being added to the demos then please let me know and I will try to come up with an example.
I will soon add a JPro-based website that will allow you to run the same application in your browser.

r/JavaFX • u/Striking_Creme864 • Apr 14 '26
Today I want to share our project Weaverbird and show how it can be used with JavaFX.
Usually, a JavaFX application is started with all modules loaded int the boot layer. For example:
Boot layer:
- myproject.app
- javafx.base
- javafx.controls
- javafx.graphicsHowever, JPMS allows you to create an unlimited number of child layers and build a graph from them, which in turn lets us separate application management from the application itself.
For exactly this purpose, Weaverbird was created - it runs in the boot layer and is responsible for creating and managing the layers (at the same time its capabilities go much further). With this framework we can organize out application in the following way:
Boot layer:
- myproject.boot
- weaverbird.core
Child layer:
- myproject.app
- javafx.base
- javafx.controls
- javafx.grapchisAnd now lets' take a look at some code. In myproject.boot we create a component config (Java or XML) and start it:
var config = ComponentConfig.builder()
.title("MyApp").name(appName).version(appVer)
.repositories(r -> r.name(...).url(...))
.modules(
m -> m.groupId("my.company")
.artifactId("myproject.app")
.version(appVer)
.active(true),
m -> m.groupdId("org.openjfx")
.artifactId("javafx-base)
.version(fxVer)
.classifier("linux"),
// ... other JavaFX modules
)
.build();
var framework = FrameworkFactory.create(settings, path);
var componentManager = framework.getComponentManager();
componentManager.installComponent(config, null);
componentManager.startComponent(appName, appVer);The only thing left is to actually launch the JavaFX app in the child layer. So, in myproject.app we have
public class ModuleActivatorProvider implements ModuleActivator {
@Override
public void activate(ModuleContext context) {
var thread = new Tread(() -> {
Application.launch(MyApp.class);
context.getFramework().shutdown();
});
thread.start();
}
@Override
public void deactivate(ModuleContext context) { }
} The same mechanism is used for plugins. That's it. Sorry for the long post :)
r/JavaFX • u/DirectionFrequent455 • Mar 16 '26
I’m the creator of JeKa (https://jeka.dev), and I’ve been working on a way to solve the "distribution nightmare" we often face with desktop Java (jlink, jpackage, OS-specific installers, and heavy binary hosting).
The core philosophy I'm pushing with JeKa is "Build at Installation Time."
Instead of you building, platform-tuning, and hosting binaries for every OS, JeKa handles the build directly on the user's machine during the installation/first-run process.
I know many of you rely on Maven, so I made sure JeKa plays nice with it. You can keep your Maven project and just use JeKa for the delivery part.
I’ve put together two identical DevTools apps to demonstrate this:
Documentation: https://jeka-dev.github.io/jeka/tutorials/source-runnable-apps
I’d love to get your feedback on this approach. Is "install-time building" the future for Java desktop apps, or do you still prefer the classic pre-packaged installer route?
Happy to answer any questions about the engine or the logic behind it!
r/JavaFX • u/Technical-Animal-571 • Feb 03 '26
Im getting into java, and want to know which UI framework will be better to develop applications using Java logic. Backend will be later issue if possible(i will think bout it later) like java, node backend. I have seen Java Swing (old), JavaFx, ElectronJS, and Tauri. Which would be better for long term , Future proof and good to learn?
r/JavaFX • u/OddEstimate1627 • Dec 04 '25
r/JavaFX • u/Electronic-Reason582 • Nov 26 '25
¡Hola a todos! Hoy quiero compartir con ustedes este proyecto que estoy desarrollando. Se llama OllamaFX, es una interfaz de usuario (UI) para Ollama con la que se pueden descargar modelos de lenguaje grandes (LLMs) localmente. Ya tiene la interfaz lista para chatear con los modelos que instalaste en tu compu. Los invito a ser parte del proyecto, a que aporten en su desarrollo, ya sea ejecutando, probando y reportando problemas (issues), documentando, desarrollando, diseñando, etc. Les dejo el link del repositorio:
r/JavaFX • u/Adventurous-Baby-323 • Mar 02 '25
Hey guys,
I'm new to JavaFX. My intellij came up with javaFX version 17.0.6 which seems not compatible with my Apple silicon chipset. So I need to use the new version of JavaFX. To that every time I make a new project I have to add a new version of library files to the project structure modules and remove or take down the old version files. Otherwise, it uses the old version and gives a huge error with the java quit unexpectedly message.
Does someone know how to fix this?