Questions tagged [openjfx]
229 questions
0
votes
1 answer
Amazon Corretto 11 not included jFX
I have download open jFX 11.0.2 version (JavaFX Windows SDK) and Corretto 11. Is there any way to integrate it into Corretto 11 JDK?

user12467856
- 9
- 3
0
votes
0 answers
How to choose a right javafx-base*.jar variant for MacOS?
I have the next build.gradle script:
plugins {
id 'application'
id 'org.openjfx.javafxplugin' version '0.0.8'
id "org.beryx.jlink" version "2.17.5"
}
group 'com.alcoholics'
version '1.0-SNAPSHOT'
application {
…

Denis Sologub
- 7,277
- 11
- 56
- 123
0
votes
0 answers
KeyEvents with Nested Anchor Panes in JavaFX Scene
I have a GameSceneController class that has an AnchorPane field, with the intention of assigning it to different 'Game Rooms'. I have a GamePaneController that is the controller for the FXML.
I am trying to make a custom 'sprite' class move inside…

Pierre
- 23
- 5
0
votes
1 answer
how to config "--enable-preview" when using javafx:jlink in javafx-maven-plugin
I use this plugin in my javafx project: https://github.com/openjfx/javafx-maven-plugin ,
org.openjfx
javafx-maven-plugin
0.0.4
...
…

Guo
- 1,761
- 2
- 22
- 45
0
votes
0 answers
How to configure com.gluonhq.charm properly in Maven?
How do I have to configure this plugin? I tried this:
com.gluonhq
charm
6.0.3
hello.HelloWorld
…
user12975282
0
votes
1 answer
Cannot make JavaFX application work following Gluons "Getting started" page with JavaFX
basis:
Followed the https://openjfx.io/ page to learn JavaFX.
The code works on another computer. I uploaded on a repo using git.
Downloaded to another computer.
Old computer was running Java 10. JDK 10. Which has JavaFX built in (also a reason why…

brat
- 586
- 5
- 17
0
votes
1 answer
Java fx program freezes
This is probably a bug in java fx, I might file a report but I want to first find out more about it because to my experience a bug that does not provide a way to reproduce is not gonna be lokked at. Also I really badly want a work arround for it.
So…

Alex
- 521
- 7
- 17
0
votes
1 answer
Exception in Application start method. OpenJFX 13 with Maven
i tried to start a new project using OpenJFX modular with Maven. I followed this: https://openjfx.io/openjfx-docs/ (Go to JavaFX with Maven -> Modular with Maven) but gets an Exceptetion in Application start method.
Error:
Exception in Application…

Kristoffervt
- 21
- 3
0
votes
0 answers
How to run JavaFX program
I am following this tutorial: docs.oracle.com
I have successfully built it using
javac --module-path /usr/lib/jvm/java-13-openjdk/lib --add-modules javafx.controls -d . -Xmaxerrs 1 HelloWorld.java
and archived it using
jar cfm j.jar manifest…

C. Dunn
- 101
- 1
- 6
0
votes
0 answers
JavaFX rotate screen 180°
I'm working on an application, that's going to be running on an embedded device, but I'm having problems, as the screen on the said device is mounted upside-down.
I found that I could do the rotate="180" in the FXML, but the thing is that drop down…

MG lolenstine
- 919
- 1
- 11
- 32
0
votes
0 answers
Can I have in the same gradle project an Andoid app and some Java11/FX modules with a shared module?
I'm building a project in Kotlin actually there are these modules:
cli (kotlin / Java 11)
gui (kotlin / Java 11 + TornadoFX / OpenJFX)
shared (pure kotlin)
Now I want to make an Android app that uses the shared module, but form IntelliJ I get this…

Deglans Dalpasso
- 495
- 5
- 14
0
votes
1 answer
How to install OpenJFX 11
I am trying to install the latest version of BlueJ, and it requires JDK 11 and OpenJFX. I have updated from Java 8 to 11 now, but I cannot find a way to actually install OpenJFX. I've tried to check the version of Open JFX, but I get an error…

TheCoolKid
- 5
- 3
0
votes
1 answer
Missing JavaFX application class com.MainApp
I'm trying to migrate from java-1.8 to java-11..
I was facing the error "Missing JavaFX application class com.MainApp" and I looked for a solution online and found a couple of them:
https://openjfx.io/openjfx-docs/#modular
Maven JavaFx project…

Croy
- 241
- 3
- 14
0
votes
1 answer
Why does JavaFX app using OpenJDK+openjfx fail on Ubuntu 16?
I have created a very basic JavaFX application
// Viewer.java
package crossjavafx;
public class Viewer {
public static void main(String[] args) {
MainViewer.main(args);
}
}
// MainViewer.java
package crossjavafx;
import…

Piotr G
- 959
- 1
- 7
- 25
0
votes
1 answer
import of java.lang.String fails in JAVAFX 11 FXML
I have an JAVAFX 11 FXML file describing a popup window I use in an application. After refactoring the project structure where I moved the FXML from the "app" project to another project, I get NullPointerException errors, because the XML loader…

WolfiG
- 1,059
- 14
- 31