Questions tagged [javafx]
The JavaFX platform enables developers to create and deploy Graphical User Interface (GUI) applications that behave consistently across multiple platforms. JavaFX 1.3 and older, were scripting languages, whereas JavaFX 2.x+/8.x enables users to use Java. FXML enables JavaFX to follow an MVC architecture.
javafx
38,711
questions
0
votes
0
answers
15
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, ...
-1
votes
0
answers
19
views
What to add to allow for interaction with the individual elements in the listview. (Selecting the item). ideas is an arraylist of non-string types
What to add to allow for interaction with the individual elements in the listview. (Selecting the item). ideas is an arraylist of non-string types.
0
votes
1
answer
45
views
Cannot invoke "com.example.service.PersonService.save(Object)" because "this.personService" is null
I have a personal program that uses Springboot and Javafx. I've been trying to gain more skills in creating springboot and javafx apps. Program launches an fxml page where a person can update a person'...
0
votes
0
answers
39
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
vote
1
answer
38
views
JavaFX TextArea - Get caret bounds
I am trying to show a popup beneath the caret of a text area. This means I need both X and Y coordinates.
I am currently trying to achieve it this way:
final var textFieldBounds = input....
-1
votes
0
answers
31
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-...
0
votes
1
answer
33
views
How to request focus for a certain field?
I am developing a Login Dialog for a Smart Card Token Management with Certificate System. Below, I added example code to demonstrate the issue. If I start the application I first see a login dialog ...
1
vote
1
answer
38
views
Show a graphstream graph in a javafx panel
I want to show a graphstream graph in a javafx StackPane panel. I know there are some similar questions in the net and in this page, but I'm getting a different output and error.
My code is in the ...
0
votes
0
answers
53
views
Designing fancy buttons in JavaFX without HTML
I am working on a project in JavaFX to make a fancy UI (using CSS and FXML) and I stumbled across the code below for a fancy button that I want to use. I copied the CSS code and wrote it in a CSS file ...
-3
votes
0
answers
65
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
49
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
56
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
62
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-...
0
votes
0
answers
33
views
how to make a window in javafx refresh [duplicate]
I'm creating a ray Casting application and in it I need to draw a frame every 30 seconds and delete the old one. But my stage waits for the end of the cycle and only then is it drawn. How can I make ...