Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
10 views

How to Add 64-bit OS Check for JDK 17 JavaFX App When Packaging with launch4j-maven-plugin? I'm working on a JavaFX application that requires JDK 17+, which only supports 64-bit operating systems. I'm ...
Lson's user avatar
  • 327
-3 votes
0 answers
69 views

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:...
Sayed Ali Yahya's user avatar
0 votes
1 answer
73 views

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 ...
Mike Allen's user avatar
7 votes
2 answers
194 views

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: ...
SilverCube's user avatar
  • 1,138
0 votes
1 answer
70 views

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 ...
Daniel Maldonado's user avatar
4 votes
0 answers
80 views

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 ...
fawfulsPikminArmy's user avatar
-1 votes
0 answers
107 views

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 ...
Aadi's user avatar
  • 5
3 votes
1 answer
115 views

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 ...
NewbieCoder's user avatar
5 votes
1 answer
97 views

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 { ...
SilverCube's user avatar
  • 1,138
5 votes
1 answer
152 views

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 ...
GenerationLost's user avatar
1 vote
0 answers
76 views

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, ...
ganjaam's user avatar
  • 1,308
-1 votes
0 answers
139 views

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 ...
Momo Tamura's user avatar
1 vote
1 answer
50 views

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 ...
Arnault Bonafos's user avatar
0 votes
0 answers
93 views

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 ...
MatthewSamaha's user avatar
2 votes
1 answer
131 views

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....
Adalberto J. Brasaca's user avatar
1 vote
1 answer
122 views

I’ve built a modular JavaFX application using JDK 21 and JavaFX SDK 21.0.1. The project runs perfectly inside my IDE (IntelliJ IDEA), but when I try to export it as a .jar file and run it outside the ...
Rohan's user avatar
  • 18
-1 votes
0 answers
41 views

Introdution In a previous post, I asked about why the zoom-by-slider doesn't work as expected when I bind the slider bidirectionally to the scale, to ensure that the slider updates during wheel ...
Starnec's user avatar
  • 797
0 votes
1 answer
61 views

When my app (using OpenJFX 25 and Java 25) is in fullscreen mode on Mac, JavaFX dialogs are also fullscreen. Is there any way to work around this?
guymac's user avatar
  • 422
5 votes
2 answers
258 views

Intro The following code demonstrates the Zoom and Drag functionalities of an ImageView in a viewport. Zoom can be adjusted either by scrolling the mouse wheel or through a Slider. Meanwhile, dragging ...
Starnec's user avatar
  • 797
1 vote
1 answer
101 views

It is my understanding that you have to @ExtendWith(MockitoExtension.class) to run a test class with Mockito runner. And to use TestFX to test a JavaFX application you would need to @ExtendWith(...
tM_za's user avatar
  • 11
1 vote
1 answer
112 views

When I call ImageView::setImage, will the image be immediately refreshed to the interface? If I use ImageView as a video player and the video frame rate is very high, and each new frame is set using ...
XiaoJiawei's user avatar
-1 votes
3 answers
193 views

Suppose I have a JavaFX ComboBox that stores custom objects. Objects are rendered in a way that involves their property X. I now mutate property X for the selected object. How do I make the combo ...
Sergey Zolotarev's user avatar
0 votes
1 answer
122 views

I want to see JavaFX types' javadocs in IntelliJ IDEA. To do that, I need to download the sources and specify the zip in the sourcepath (Project Structure - SDKs - Sourcepath). I did it. However, once ...
Sergey Zolotarev's user avatar
5 votes
1 answer
191 views

Intro When dragging item(s) from another application into the DnD Node in JavaFX The operating system or the source application handles the visual display of the dragged item(s) since it is the source ...
Starnec's user avatar
  • 797
2 votes
1 answer
82 views

Please how do I get the pixels in the Image object that contribute to the pixel in the ImageView object at a particular location in the ImageView object. Smooth is true and preserveRatio is false. I ...
Aikman's user avatar
  • 21
4 votes
1 answer
184 views

I previously posted a question about why the overlay animation in the StackPane container occurs instantly when using KeyFrame. @Slaw pointed out the root of the issue in a comment: You're using on-...
Starnec's user avatar
  • 797
1 vote
0 answers
96 views

I have three StackPane elements, each containing its corresponding ImageView for an Icon and an overlay VBox. The intended animation is to make the overlay appear from the top to the bottom of the ...
Starnec's user avatar
  • 797
4 votes
1 answer
242 views

This is a follow-up question to two previous posts on the most efficient way to convert an OpenCV Mat object into a JavaFX Image (post 1, post 2). @James_D, @Slaw, pointed to two possible approaches, ...
Starnec's user avatar
  • 797
0 votes
0 answers
57 views

I want to create a JavaFX program for Android and IOS. I downloaded and installed JFXMobile into IntelliJ IDEA. For setting up, I used information from here. When I tried to build my program, I got an ...
Djjdjejejjejejejjeej's user avatar
0 votes
1 answer
196 views

I have posted a question on which of two approaches is more efficient for converting an OpenCV mat object to a JavaFXML Image so it can be displayed later in the application. Most of the comments ...
Starnec's user avatar
  • 797
0 votes
1 answer
99 views

Why doesn't the following JavaFX App shutdown immediately when the Cancel button in a Dialogue is pressed? I expect the Platform.exit() to stop the App. Here's my example code (run using Zulu JavaFX ...
Dave The Dane's user avatar
5 votes
1 answer
139 views

In https://bugs.openjdk.org/browse/JDK-8345348 in Description is this CSS snippet: .button { -fx-background-color: lightgray; } @media (prefers-color-scheme: dark) { .button { -fx-...
Ladislav Török's user avatar
1 vote
1 answer
148 views

On JavaFX 25 API Doc page is for example class javafx.scene.layout.HeaderBar marked as Deprecated. Is really true? Or is it bug or I don't understand it well. See screenshot above, where the problem ...
Ladislav Török's user avatar
0 votes
0 answers
51 views

I have Compiled and Package a native apk for android using gluonfx using the following build.gradle config: plugins { id 'application' id 'org.openjfx.javafxplugin' version '0.1.0' id 'com....
daniel's user avatar
  • 11
2 votes
2 answers
79 views

I want to set the topmost cell and the bottommost cell in the list-view of a combo-box to have rounded corners (without setting rounded corners for the other cells). What should I do? thank you for ...
TheXfox's user avatar
  • 21
0 votes
0 answers
81 views

I have a SplitPane where I want only one item to be ResizableWithParent = true, while all other items should not be resizable with the parent. The problem is that when I add a new item and then set ...
SilverCube's user avatar
  • 1,138
4 votes
0 answers
73 views

This is my test code: public class TestFx extends Application { @Override public void start(Stage primaryStage) { var tabPane = new TabPane(); tabPane.setSide(Side.RIGHT); ...
SilverCube's user avatar
  • 1,138
1 vote
0 answers
139 views

I'm developing an app using JavaFX, but I've encountered a problem creating a build and converting it into an executable app. Several years ago, I created a small app using this technology, and I ...
Gabriel Alberto Pérez Guerra's user avatar
1 vote
1 answer
67 views

I have an application, where the ParentView consists of a horizontal SplitPane with two buttons at the left side to choose a ChildView, which is embedded at the right side. With the two ParentView ...
Cptn Bluebear's user avatar
3 votes
1 answer
105 views

I have a JavaFX desktop application that started having rendering issues after updating the Intel Iris Xe graphics driver. On Java 11 + JavaFX (Zulu distribution): openjdk version "11.0.25" ...
Guilherme Almeida's user avatar
3 votes
1 answer
106 views

I am testing a JavaFX GUI using org.fxtest. Setting up the Application is quite time consuming so I annotated my Test-class with @TestInstance(TestInstance.Lifecycle.PER_CLASS) Nevertheless, the start ...
Harold's user avatar
  • 33
3 votes
0 answers
106 views

I try to display my website in a JavaFX WebView component, but the page fails to load. I get a blank page. The site uses the JavaScript library angular-auth-oidc-client to redirect to WebSSO. After ...
Olivier Dutrieux's user avatar
2 votes
0 answers
107 views

I am having an issue with displaying a grid of buttons properly. I essentially need the following: The buttons need to be in a grid like in the second picture The buttons need to be square The ...
splatman73's user avatar
0 votes
1 answer
57 views

I am trying to create a java FX based visual in an editor. As a first step I tried to create an FXCanvas like this: public class ModelEditorView extends EditorPart { public static String ID = &...
Árpád Magosányi's user avatar
2 votes
1 answer
208 views

My target is to create an application, which uses Java 21.0.7 (OpenJDK), JavaFx 23.0.2 and GeoTools 34-SNAPSHOT to show S57 sea charts. As a prerequirement I have downloaded javafx-sdk-23.0.2 as well ...
Alex's user avatar
  • 633
0 votes
0 answers
56 views

I keep having this error: "The packaging plugin for project javafx-base did not assign a file to the build artifact." Six month ago, I didn't had it; I havn't touched this project since. Is ...
Aryan ARIF's user avatar
0 votes
0 answers
122 views

I need to implement a map for my road management project. Something similar to Google Maps but simpler. It is for an academic project. I don't want to use Google Maps API. I tried using JavaFX WebView....
Ahmed abrar's user avatar
3 votes
1 answer
63 views

How can I access the main window (:stage) from a menu click event in Cljfx? I need it for two reasons: to open a file chooser, and to resize the window. A minimal example: (ns a (:require [cljfx.api ...
kamwitsta's user avatar
  • 460
2 votes
1 answer
144 views

I'm completely new to IntelliJ and JavaFX. I'm trying to get started by creating my first project. I'm running in a linux environment and downloaded openJDK24 and openJFX24. After running IntelliJ, I ...
WKGuy's user avatar
  • 129
3 votes
1 answer
144 views

I'm rendering cubes in JavaFX 3D for a voxel-based game. I'm trying to texture the cubes with a diffuseMap, however due to the textures being 32x32 the image is being considerably blurred. Is there a ...
SplashyPond's user avatar

1
2 3 4 5
779