Questions tagged [openjfx]
229 questions
1
vote
1 answer
Firing a caught event
This question is so obvious, and I am sure that it is so easy to solve that I wonder why no simple and easy to understand answer hes been posted yet. I’ve found answers explaining how to create a *new event, changing the event direction, -bubble,…

Papa
- 41
- 3
1
vote
2 answers
JavaFX11 and Intellij
I followed the instruction in this link
https://openjfx.io/openjfx-docs/#install-javafx
and when i run javafx sample i get this error
Error:(3, 26) java: cannot access javafx.application.Application
bad class file: C:\Program…

Ahmed Bayunes
- 11
- 1
- 3
1
vote
0 answers
OpenJFX: (Gluon) SDK vs. Maven dependencies
I am currently migrating a Java 8 code basis to Java 11. Since OpenJDK never contained JavaFX/OpenJFX I now need to handle JFX as an external dependency:
using Gluon's OpenJFX SDK
including OpenJFX as an external dependency via Maven…

Hannes
- 5,002
- 8
- 31
- 60
1
vote
0 answers
Java11 migration/ JavaFX - source errors
I have managed to set the environment for Java 11.01 and JavaFX and run my application, but I have several exceptions related to path issues. I'm using from graphics the com.sun.glass.ui and the exception tells:
cannot access class…

AndreiD
- 113
- 1
- 11
1
vote
0 answers
How to add an external dependency to openjfx
I'm playing around trying to add lwjgl as a dependency to the graphics module.
I already modified the graphics module-info:
module javafx.graphics {
requires java.desktop;
requires java.xml;
requires jdk.unsupported;
requires…

elect
- 6,765
- 10
- 53
- 119
1
vote
0 answers
OpenJDK and OpenJFX on Linux mint 19 (tara)
I'm trying to run a program that requires Java FX. I just installed Linux Mint (Tara) Cinnamon. It has OpenJDK installed.
openjdk version "10.0.2" 2018-07-17
OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.3)
OpenJDK 64-Bit…

Chris Whitcomb
- 33
- 9
1
vote
0 answers
Building a JavaFX application
In Java 8 times I created a JavaFX application which I now wanted to port and build with Java 11.
First thing I did was creating a module-info.java and adding the required libraries.
Than I added OpenJFX dependencies to…

Hannes
- 5,002
- 8
- 31
- 60
1
vote
1 answer
openjfx 1.8 does not contain javafx.fxml package
I just installed openjdk 1.8 and openjfx on my system, also added jfxrt.jar to classpath. I can use now javafx.scene, javafx.stage, etc. But for some reason my jfxrt does not contain javafx.fxml package. May be I miss to add some library to my…

Nikita Mirošničenko
- 197
- 8
1
vote
0 answers
How do I build artifacts for Openjdk 11 and Openjfx 11 application? (IntelliJ IDEA)
I am actually new to openjfx 11 and i already tried using openjdk and openjfx libraries to compile my project in intellij IDEA . But after I build artifacts for my project, the jar file of my project doesn't executes.
I tried to execute it using…

neth07
- 61
- 3
1
vote
1 answer
$JAVA_HOME path unspecified when Installing openjfx on Slackware via SlackBuild script
According to $java -version:
openjdk version "1.8.0_91"
OpenJDK Runtime Environment (IcedTea 3.0.1) (Slackware)
OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)
Executing the SlackBuild script says:
"No valid JRE installation found in…

garyfrompokemans
- 11
- 3
1
vote
1 answer
How openjfx-11 archive used in Intellij IDEA?
I download the archive openjfx-11-ea+13_windows-x64_bin-sdk and OpenJDK.
Then I create a JavaFX Application project and write a demo in Intellij IDEA (1.8.3).
For Compile the project,in IDEA "Module Setting" ->"Dependencies",I set the "lib"…

KaLa
- 21
- 5
1
vote
1 answer
How to ensure that JavaFX is installed (espacially on Ubuntu)?
I want to write my first JavaFX 8 application (doing my first experiments with e(fx)clipse, etc.) and have a few concerns about platform independence.
JavaFX 8 is a part of the Oracle JRE, which is the most used JRE on Windows. Therefore, I do not…

Markus Weninger
- 11,931
- 7
- 64
- 137
1
vote
2 answers
Alert in JAVA FX
I want to display an alert when a file already exists when trying to create the file with same name . I have not completed the code fully. I want to retrieve the button value Yes/No from the UI .
Code:
This is how the controller is coded.
package…

sridhar mohanty
- 33
- 1
- 4
0
votes
1 answer
Is there a way to add JavaFX 20 to my existing Maven Java 20 Project in NetBeans IDE?
Lately I've started programming a game, and to switch scenes I want to incorporate JavaFX.
I've done extensive research to find out if I could use JavaFX in my project, and if so, how.
Could anyone give me some insight on this, and how I would be…

Abraham Agbota
- 3
- 2
0
votes
1 answer
Javafx not injecting to @FXML annotated members when creating new class
I am currently trying to create lists to show on a board (each list has buttons and a title and an additional vbox to store things inside of it). When I create a new list to show it on my board, all the @FXML annotated fields are left with null (but…