All Questions
24,960
questions
-1
votes
0
answers
22
views
FXGL. package with shapes is not visible
While i'm trying to use class from com.almasb.fxgl.physics.box2d.collision.shapes package like this:
physicsComponent.setFixtureDef(new FixtureDef().shape(new CircleShape((float) hitBoxRadius))); with ...
0
votes
0
answers
51
views
Adding module-info.java to a Kotlin project causes build error
I was trying to make a JavaFX project with Kotlin, Gradle on IntelliJ IDEA.
Using Java 17.
At first, I didn't used module-info.java, and it worked well, but it warned me
"WARNING: Unsupported ...
0
votes
0
answers
36
views
Trying to install JavaFX in VS Code
This is the error I get when I try to create JavaFX project. First I was facing problem with JAVA_HOME (which I fixed). Now this:
Executing task: ""c:\Users\User-name\.vscode\extensions\...
0
votes
1
answer
39
views
JavaFx WebView element selection. (JavaScript)
I have a WebView element, which render a html code. I want to create getSelectedIndices and setSelectedIndices method. Getter works, Setter throws IndexSizeException.
How can I set the selection area ...
-2
votes
0
answers
30
views
Why can't I create Image objects using JavaFX on IntelliJ when the image files are in a folder [duplicate]
Project Structure
Right now, I think IntelliJ considers the images folder a package once it's inside src and a directory once its outside src. When I try to give the path to the images folder to ...
-7
votes
0
answers
42
views
Swing embedded java FX application throws java.lang.IndexOutOfBoundsException: Index -1? [closed]
It throws java.lang.IndexOutOfBoundsException: Index -1 from FX side of the swing embedded FX application. This not show any stack to our application root. This is a sporadic issue comes from customer ...
0
votes
1
answer
59
views
Transforming java slider switch code to Scene Builder control
Hey all I am trying to figure out how to transform my JavaFX slider switch to a Scene Builder 2.0 control so that I can use it within scene Builder.
I currently have been watching these 2 YouTube ...
0
votes
3
answers
135
views
Problem using Spring AOP with Java FX Controller
I have integrated Java FX with Spring boot using javafx-weaver-spring-boot-starter of net.rgielen. I want to execute some code before the call of a method of the controller, but I am getting ...
0
votes
0
answers
49
views
Packaging cross-platform Appimages and DEB Packages in Linux missing dependencies
I have a JavaFX Application, and I'm using maven to distribute it. Currently, I first create a runtime image of my program with jlink, and then package it with jpackage.
However, if I package either a ...
-1
votes
0
answers
56
views
JavaFX Preloader and Spring: Cannot Load configuration class
I'm trying to create a lib-agent (later having to use graalvm) and I only have to use cli commands.
After using this command:
java -agentlib:native-image-agent=config-output-dir="META-INF/native-...
-3
votes
0
answers
70
views
How to properly design a program with multiple menus using MVC [closed]
I am creating a program in which I have a MainMenu class which represents the main menu of the program. The main menu will have several different options to choose from through buttons, one of which ...
4
votes
0
answers
52
views
Window jiggles on JavaFX window when opening/closing dialog on Linux
This is weird. I have a JavaFX application when run on Linux the window jiggles whenever you open and close another dialog. I notice that the maximize button is removed from the window when the dialog ...
-2
votes
0
answers
64
views
JavaFX node to PDF using SVG? [closed]
Edited to hopefully now meet StackOverflow guidelines.
Possible duplicate of How can I export a JavaFX node to an SVG image?
I am trying to get a rather complicated tree chart JavaFX node onto a PDF ...
0
votes
1
answer
67
views
Robot class in Javafxml
I am a beginner, and I have a question regarding Robot class in JavaFX. I have the following code.
Basically, when I manually click on AnchorPane, method click gets activated, and when the mouse ...
0
votes
1
answer
37
views
JavaFX Preloader: Expected static method javafx.graphics/com.sun.javafx.iio.ImageStorage.addImageLoaderFactory
In order to create a native image with GraalVM I must first create a lib-agent.
I use this command line:
java -agentlib:native-image-agent=config-output-dir="META-INF/native-image" --module-...