Questions tagged [openjfx]

202 questions
4
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
  • 111
  • 1
  • 1
  • 9
4
votes
2 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,509
  • 1
  • 17
  • 24
4
votes
1 answer

JavaFx TreeTableCell width calculation

in my application I am displaying a TreeTableView and like to increase the indentation. I found the respective CSS property -fx-indent which works perfectly fine. However I'm now struggling with the calculation of the preferred width. I'd like the…
Rosso
  • 324
  • 2
  • 14
4
votes
1 answer

JavaFX program does not start due to "GraphicsPipeline.createPipeline failed for com.sun.prism.es2.ES2Pipeline"

I just wanted to run a basic JavaFX HelloWorld program on Ubuntu 16.10. Therefore, I add the jar /usr/lib/jvm/java-8-opendjk-amd64/jre/lib/ext/jfxrt.jar to my buildpath. Yet, it compiles but crashes on start up. I use -Dprism.verbose=true as flag to…
Markus Weninger
  • 8,844
  • 4
  • 47
  • 112
3
votes
1 answer

For a 3d star field (in JavaFX), keeping the labels flat to the viewer perspective

NOTE: I found a solution and edited this example to show how to do it. I will take this code and move it to my much larger application. I've written a 3d stellar charting application, that takes in GAIA stellar data and shows you a 3d…
EvilJinious1
  • 2,495
  • 5
  • 39
  • 57
3
votes
1 answer

OpenJFX Maven archetype does not exist?

I tried to create a JavaFX maven project following the official doc (chapter IntelliJ with maven, non modular project). I replaced as outlined the archtype artififact id as : javafx-archetype-simple but when I try to create a project using the…
Ombrelin
  • 128
  • 1
  • 10
3
votes
1 answer

JavaFX 14, Stacked Bar chart does not display negative values

Example: import javafx.application.Application; import javafx.scene.Scene; import javafx.scene.chart.CategoryAxis; import javafx.scene.chart.NumberAxis; import javafx.scene.chart.StackedBarChart; import javafx.scene.chart.XYChart; import…
wyit
  • 323
  • 3
  • 8
3
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
  • 218,480
  • 72
  • 657
  • 915
3
votes
2 answers

Getting Error: JavaFX runtime components are missing, and are required to run this application while opening executable jar

I've build executable jar using NetBeans IDE 11.0 but when I open jar using : hemlata@hemlata-pc:~/NetBeansProjects/Sizing/dist$ java -jar Sizing.jar I'm getting Error: JavaFX runtime components are missing, and are required to run this…
Hemlata
  • 187
  • 2
  • 9
3
votes
3 answers

JavaFX Export and VM arguments

I have the problem that I just can't export my JavaFX application. I can get it running with the VM arguments (inside the IDE and outside) but that's far from optimal. I want a simple "click to open" experience. Error: JavaFX runtime components are…
Dominik
  • 103
  • 1
  • 8
3
votes
1 answer

Bundling JRE 8 and JavaFX application

We wrote a JavaFX application using JDK8 and we would like now to deploy our app not only using the jar file but also alternatively providing a zip file that bundles: the jar file my.jar a .bat (or .sh) file that simple does .\jre\bin\java.exe -jar…
tmanolatos
  • 912
  • 10
  • 15
3
votes
1 answer

OpenJFX chopping dialog windows

I'm using Linux and trying to switch from Oracle's JDK to OpenJDK and OpenJFX, but I'm having severe problems with JavaFX applications. Take for example this simple program: import javafx.application.Application; import…
3
votes
1 answer

Is it possible to use javapackager on ZuluFX for Mac

I was able to use ZuluFX 8 with javapackager on Windows. However, on a Mac I get this error: Bundler Mac Application Image skipped because of a configuration problem: Cannot determine which JRE/JDK exists in the specified runtime directory. …
Shai Almog
  • 49,879
  • 5
  • 30
  • 57
3
votes
1 answer

jdeps command failing when trying to resolve OpenJFX jmods

I am trying to run a jdeps command on a project that uses OpenJFX, but it keeps failing. The command I am using, simplified as much as I can: jdeps --module-path Y:\javafx-jmods-11.0.2 --add-modules javafx.base Test.jar javafx-jmods-11.0.2 is a…
Chatoyancy
  • 125
  • 1
  • 14
3
votes
2 answers

Cannot Launch JavaFX application in IntelliJ with Java 11

I am trying to create a JavaFX application with IntelliJ and Java 11. I can compile the application correctly, but when I try to debug it, I get the following error: Exception in Application start method java.lang.reflect.InvocationTargetException …
Miguel Mesquita Alfaiate
  • 2,361
  • 4
  • 22
  • 50
1 2
3
13 14