Skip to main content

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.

0 votes
0 answers
4 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.
Ayan Guha's user avatar
0 votes
0 answers
38 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'...
Kameron Hazelwood's user avatar
0 votes
0 answers
34 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 ...
mgcv's user avatar
  • 1
0 votes
0 answers
24 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....
Marcel's user avatar
  • 1,536
-1 votes
0 answers
30 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-...
Logan's user avatar
  • 1
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 ...
Billie's user avatar
  • 155
1 vote
1 answer
36 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 ...
Serinus Serinus's user avatar
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 ...
Alexander Jonsson's user avatar
-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 ...
Alexander Jonsson's user avatar
4 votes
0 answers
48 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 ...
Monotone's user avatar
-2 votes
0 answers
54 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 ...
Sarah's user avatar
  • 63
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 ...
user11813719's user avatar
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-...
Logan's user avatar
  • 1
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 ...
Morozov 310's user avatar
0 votes
1 answer
51 views

Packaging a java 8 - maven - javafx 22 application

I read an article here and understood that there are differences between packaging JavaFX 11 and Java 11, from my project. However, I still don't know how to do it with my project. Mine is built in ...
Shemuel's user avatar
  • 21

15 30 50 per page
1
2 3 4 5
2581