Skip to main content
0 votes
2 answers
46 views

Uberjar with JavaFX compiled by Leiningen doesn't have runtime components

I have an extremely simple Clojure project that uses JavaFX 21.0.7; it's just one file, and all it's meant to do (at the moment) is display a stage with a scene consisting of an empty pane: (ns ...
Choosechee's user avatar
1 vote
2 answers
53 views

How to implement first-time online validation and offline license checks using License4J in JavaFX (no Maven/Gradle)?

I'm integrating License4J into a local JavaFX desktop application without Maven or Gradle. ✅ My Goal: Implement a license validation workflow like this: On first run: Prompt the user to enter a ...
Minari BLIИK's user avatar
0 votes
0 answers
56 views

How to implement a javafx GameLoop

The only way i found is by using a timeline, which relies on KeyFrames, but the only way i managed to do something like this is by making a single KeyFrame in loop this is the solution i've found: ...
user8322140's user avatar
3 votes
1 answer
49 views

Binding binary expressions in FXML

From the docs it seems like it should be possible to use simple expressions when calculating Element properties but it always seems to give errors. Is the syntax here correct and is there any more ...
Peter Hull's user avatar
  • 7,129
1 vote
0 answers
122 views

Running JavaFX Application on JRE 8u451 After JavaFX Removal

I'm facing an issue with a JavaFX application written for JDK 8. My company recently updated to JRE 8u451, and the application no longer runs because JavaFX has been removed from this release. I have ...
Edward Northwind's user avatar
0 votes
1 answer
51 views

How to change or remove JavaFX ScrollPane scrollbar background color

Problem setting the background of the scrollbar to white, making it seamless to the scrollpane, if better, the background could be transparent so any color would work Solution I tried: nothing ...
Bruce's user avatar
  • 77
3 votes
1 answer
48 views

JavaFX cannot resolve the stylesheet symbol

Here is my JavaFX code snippet: <stylesheet value="colours.css" /> This is inside a GridPane object, right after the line with the GridPane tag. IntelliJ says it is unable to ...
IMP9024's user avatar
  • 133
-4 votes
0 answers
69 views

vscode: incorrect package (Java) [closed]

picture0 src is my root file, and i have a file test right beneath it. And in my Main.java, declaring package test as the file name. why is my vscode keeps announcing package error. chatgpt and ...
ghter8恐龍's user avatar
2 votes
1 answer
40 views

Example of Using ObservableValue.subscribe() In Gradle

Could someone give a complete example of calling ObservableValue.subscribe() from a Gradle project? Doing the following results in error: cannot find symbol on subscribe(): SimpleObjectProperty<...
Michael D. Adams's user avatar
2 votes
1 answer
57 views

JavaFX custom CSS property with multiple values

I try to create a custom css style property for my component, with multiple color values, like the -fx-background-color. But I'm stuck, despite I define my CSS property similar to the -fx-background-...
user1536873's user avatar
0 votes
0 answers
34 views

Modify scenegraph on stylesheet load

Is there a way for a stylesheet to modify the scenegraph once it is loaded? For some style effects, I need to inject elements in the scenegraph. (Basically I need to write a "skin" for a ...
taranion's user avatar
  • 671
-1 votes
0 answers
163 views
+50

How can I decouple ViewModels in a JavaFX + Spring Boot MVVM application without circular dependencies?

I'm building a JavaFX + Spring Boot application using the MVVM pattern. Problem I have two ViewModels: SharedLoginViewModel: Manages the workflow state (e.g., login process, step transitions). ...
Billie's user avatar
  • 325
1 vote
0 answers
32 views

JavaFX left and center aligment [duplicate]

I'm trying to create a UI that has a home button on the top left and a logo image on the top center. I just can't seem to align these two objects so that they're both in the right position... Can you ...
Vincenzo Bova's user avatar
0 votes
0 answers
57 views

JavaFX file does not properly adapt to all screen sizes

Hello everyone and thank you in advance. I am currently developping a game and I need to implement the GUI. I decided to use javaFX or more specifically I used JavaFX Scene Builder 2.0 for this, which ...
Chulija's user avatar
  • 11
0 votes
0 answers
60 views

What to do if Launch isn't working in JavaFX?

I'm working on a school project and trying to launch the GUI for a playlist. A groupmate of mine has also introduced Maven components to the project itself so we can upload, get values from, and play ...
Aspen's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
2596
X