38,943 questions
1 vote
0 answers
55 views
How to add 64-bit OS check for Java 17 JavaFX app when packaging with launch4j-maven-plugin?
I'm working on a JavaFX application that requires Java 17+, which only supports 64-bit operating systems. I'm using the launch4j-maven-plugin to create an EXE file, and I need to ensure that when ...
-3 votes
0 answers
72 views
How do I turn my JavaFX application into an executable for Windows? [closed]
My application I want to turn into an executable file. The project is a JavaFX application built with Maven. I've embedded an SQLite database in IntelliJ IDEA. Main class, the entry to the application:...
0 votes
1 answer
73 views
Problems getting JavaFX running on VS Code
I have never used JavaFX before and I am trying to get it running in VS Code using the basic Maven project build tools and it creates the project just fine. I then go in and update all the version in ...
7 votes
2 answers
196 views
Should a permutation in an ObservableList generate added and removed changes in JavaFX?
I thought that during a permutation in an ObservableList, added and removed changes should not be generated. However, calling FXCollections.reverse() showed that this is not the case. This is my code: ...
0 votes
1 answer
72 views
Gluon plugin IntelliJ 2025.1+ dependency on com.intellij.javafx
With this announcement: https://platform.jetbrains.com/t/javafx-runtime-for-plugins-is-deprecated-in-2025-1/944 It is obvious why this is not working. However, I have not been able to find a ...
4 votes
0 answers
80 views
Calling SearchableComboBox.getItems().remove() from the OnAction Event results in an IndexOutOfBoundsException
I am trying to create a JavaFX project featuring multiple instances of the SearchableComboBox control from the ControlsFX library, each having the same list of options. When an option is selected in a ...
-1 votes
0 answers
107 views
Need help compiling a JavaFx project [duplicate]
Created a JavaFX app using Java 21 and copied this tutorial to build my project https://www.youtube.com/watch?v=udigo_qSp_k I then created my project, and everything ran fine in an IDE. When trying to ...
3 votes
1 answer
117 views
Trying to make a TTRPG dice roller, program shows no content despite there are no errors
I'm trying to make a TTRPG dice roller with Java within a Java FX app. So far, this is what I have: the program skips the try block and shows nothing in the screen, the console shows no errors. Can ...
5 votes
1 answer
97 views
TableView doesn't stretch in VBox in JavaFX
I have two TableView in a VBox. I need the first one to grow and take all available space, while the second one should not expand. This is my current code: public class TestFx extends Application { ...
5 votes
1 answer
153 views
Integrating a Jakarta Persistence implementation with modular JavaFX/Maven/JLink app
Quick background information for context: I'm writing a relatively small tool for a small gaming community to download and manage user generated content. It's a modular Java 24 + JavaFX Project done ...
1 vote
0 answers
76 views
JavaFX + Spring: Encountering org.springframework.beans.factory.NoSuchBeanDefinitionException when trying to run SQL query [duplicate]
I am trying to develop a desktop application using JavaFX and Spring Framework in Intellij. I have model class, repository class, controller class, and a view class. But when I try to run the program, ...
-1 votes
0 answers
139 views
Java Multithread EventHandling
I'm trying to write an audio player in Java/JavaFX and want to make a playlist play songs automatically. I have a button that triggers a new thread, and everything works fine so far.. but when the ...
1 vote
1 answer
50 views
scenicview tries to connect to unreachable IP, is it configurable?
I want to use scenicview to inspect a JavaFX Application, my PC don't have direct access to internet and I can see it tries to connect to 10.2.175.91: java.rmi.ConnectIOException: Exception creating ...
0 votes
0 answers
93 views
FXGL getAssetLoader().loadFont() fails to load TTF font from /assets/ui/fonts/ directory
I'm trying to load a custom TTF font in an FXGL 21.1 game application, but getAssetLoader().loadFont() consistently fails to find the font file, even though it exists in the correct directory ...
2 votes
1 answer
131 views
Changing Mouse Cursor on a Mouse Scroll Event
I found this example on a website, but neither event is triggered, even though the code appears to be correct. import javafx.application.Application; import javafx.scene.Cursor; import javafx.scene....