Questions tagged [openjfx]

229 questions
8
votes
5 answers

Transparent JavaFX stage capture scrolling events if there is another window behind

Mouse events and scroll events behave in different ways Mouse Events: The event is captured by mainStage The event is captured by mainStage The event is not captured Scroll Events: The event is captured by mainStage The event is captured by…
geh
  • 71
  • 11
8
votes
1 answer

Configure OpenJFX 11 to extract its DLLs into a different user-specified directory?

Is there a way to configure OpenJFX 11 to extract their DLLs into a different user-specified directory? While trying to migrate an existing Java 10/Maven project to Java 11, I tried using OpenJDK 11. To get the code build working, I needed to add…
navySV
  • 223
  • 4
  • 12
7
votes
1 answer

JDK 11 and JavaFX 11: build for ARM (Tinker Board) not running (hash mismatch)

I have a JavaFX 8 project which I develop on Windows 10 with NetBeans 8.2. The JAR I build from this I have running on an Asus Tinker Board. With JDK 11 and JavaFX 11 I want to take advantage of a few of the new features and hope for some…
Fleximex
  • 111
  • 9
7
votes
1 answer

How to create a standalone application using JavaFX 11 (Modular)?

I'm following the tutorial here and using openjdk 11.0.2 and javafx-sdk-11.0.2. I've imported the maven project in Eclipse. The project actually compiles and packages just fine. It also created the jar file in /target directory. The problem is, I…
7
votes
5 answers

JavaFX, OS X, Graphics Device initialization failed for : es2, sw

I'm trying to create a JavaFX project in IntelliJ IDEA, but I get errors every time. After completing tutorial https://openjfx.io/openjfx-docs/#IDE-Intellij, I've got this: Graphics Device initialization failed for : es2, sw Error initializing…
bolt
  • 387
  • 2
  • 6
  • 16
7
votes
3 answers

Error: Main.class found in top-level directory (unnamed package not allowed in module)

Trying to update an application to Java 11 and after sorting through hell with modules I thought I had got rid of all the red errors and now I'm getting this one I've never seen before: Looking around I've seen people suggest it is possible to do…
AlwaysNeedingHelp
  • 1,851
  • 3
  • 21
  • 29
6
votes
5 answers

SoapUI 5.7 & 5.6 MacOS Installer and multiple libprism warnings: "will damage your computer"

Using Apple M1 13.4.1 I do got since today multiple warning that "libprism_es2.dylib" will damage your computer. You should move it to the Trash. whenever I run the SoapUI-5.7.0.app.
Splioo
  • 370
  • 3
  • 11
6
votes
3 answers

What is "" element on "" for the "maven-compiler-plugin" in a JavaFX app

I used the org.openjfx:javafx-archetype-simple Maven archetype to start my first JavaFX project. The resulting POM:
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
6
votes
2 answers

javafx.controls could not be found JavaFX 11 / JDK 11.0.1

I am using InteliJ, I've gone through all other solutions that seem to work for everybody else. I was getting an error: Caused by: java.lang.IllegalAccessError: class com.sun.javafx.fxml.FXMLLoaderHelper (in unnamed module @0x5782d366) cannot access…
MahBoi
  • 61
  • 1
  • 6
6
votes
1 answer

Gradle OpenJFx11 : Error - JavaFx runtime components are missing

Context: Trying to create a simple JavaFx application using OpenJdK11 & OpenJFx11 Issue: I get an error as below when I try to execute Error: JavaFX runtime components are missing, and are required to run this application I referred to Link1 &…
iCoder
  • 1,406
  • 6
  • 16
  • 35
5
votes
0 answers

Error: JavaFX runtime components are missing, and are required to run this application - Analysis

Starting with badass-runtime-example-javafx which works for me, I copied this project and extended it with my own code. I created an image with gradlew runtime. When executing the generated .bat file on Windows, I get "Error: JavaFX runtime…
user250343
  • 1,163
  • 1
  • 15
  • 24
5
votes
2 answers

JavaFX: Right click on TableColumn disables resizing

Reproduced in OpenJFX 11.0.2 & 12.0.1 SDK (Windows 10, x64), not reproducible in JavaFX 8 Right-click on a table-column, then try to resize the column. No resize cursor is shown and column can't be resized until you manually click on the column…
Lukas Rotter
  • 4,158
  • 1
  • 15
  • 35
5
votes
1 answer

How to use CSS to style the borders of two adjacent TableViews so that they appear to be a single TableView in JavaFX 11 (OpenJFX 11)

A CSS newbie question. I'm displaying a wide set of data in two adjacent TableViews and have bi-directionally bound their ScrollBars, FocusModels and SelectionModels to keep them in synch. I'm now trying to get the two TableViews to look like one…
GreenZebra
  • 362
  • 6
  • 14
5
votes
1 answer

Maven can't find FXMLLoader

I have a JavaFx project in which Maven install keeps giving me the error: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project gui: Compilation failure: Compilation failure: [ERROR]…
digitig
  • 1,989
  • 3
  • 25
  • 45
5
votes
2 answers

IntelliJ IDEA 2018.2, openjdk 11 and openjfx 11 (no maven, not modular project) : Module javafx.controls not found

I just created a new JavaFX project in intelliJ with an openjdk 11 and I've downloaded the last openjfx library on their website. Here is what I did : I've added to Run/Debug VM options : --module-path %PATH_TO_FX%…
Gilles
  • 229
  • 1
  • 3
  • 11
1
2
3
15 16