Questions tagged [openjfx]

229 questions
5
votes
0 answers

JavaFX's TreeTableView has poor node expansion performance

We migrated from Swing to JavaFX, and also exchanged a custom Swing TreeTableView control with JavaFX's TreeTableView. Yet, we experience a noticeable delay when expanding a node. Looking at this issue with VisualVM, we found out that most time is…
Markus Weninger
  • 11,931
  • 7
  • 64
  • 137
4
votes
1 answer

Does JavaFX use the new Metal-based rendering for Java on macOS?

Do the latest versions (19, 20, etc.) of JavaFX/OpenJFX use the new Metal rendering built for Java on macOS, supplanting OpenGL? JEP 382: New macOS Rendering Pipeline That new pipeline became the default in Java 19.
Basil Bourque
  • 303,325
  • 100
  • 852
  • 1,154
4
votes
1 answer

Are Javafx ellipses and arcs genuine? Or just approximations?

I'm following the source code of OpenJFX. The PathIterator only supports SEG_LINETO, SEG_QUADTO, SEG_CUBICTO, which are lines and quadratic/cubic Bézier curves. ArcIterator and EllipseIterator returns SEG_CUBICTO, which means that it will use cubic…
Ris
  • 165
  • 10
4
votes
1 answer

How to match OpenJFX GA release versions with github tag versions?

I'm trying to figure out how to match the versions of OpenJFX general availability releases like 13.0.2 with any tags available in https://github.com/openjdk/jfx/releases. The numbering format of those tags is always something like X+Y. Then how can…
OOEngineer
  • 447
  • 3
  • 12
4
votes
1 answer

How to make OpenJFX available directly?

I installed OpenJDK 11 and OpenJFX 11, and managed to build and run a JavaFX application. However, I was only able to run it after adding --module-path and --add-modules arguments in the command line. How can I set up OpenJFX so that it is available…
4
votes
1 answer

Any idea how to fix this? Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError

My application uses javafx 11.0.1 and is shipped bundled with a jlinked version of openjdk 11. It runs fine for the vast majority of the users but few of them are getting this stack: Exception in thread "WindowsNativeRunloopThread"…
Andrea Vacondio
  • 888
  • 9
  • 19
4
votes
1 answer

Simple Java 11 JavaFXprogram, Error when run from JAR file (Windows)

I have a test JavaFX program that runs fine in Eclipse. - I had to add a module-info file (module-info.java) containing the following: module moduletest { requires javafx.controls; exports com.javafx.test.MenuTest; } Java class: import…
NottmTony
  • 447
  • 1
  • 6
  • 28
4
votes
1 answer

Migration issues concerning OpenJDK 11 & OpenJFX 11 (& Proguard)

we are currently migrating a Java application from Oracle JDK 8 (application code delivered by JNLP) to OpenJDK 11 (application code delivered as runnable along with a Java Runtime). Although we found more or less a working solution in our test…
user27772
  • 522
  • 1
  • 4
  • 18
4
votes
0 answers

OpenJFX cross-platform compatibility

So with Java 11 getting rid of JavaFX I will have to switch to OpenJFX however I am still unsure on how to allow people to just download my application and have it work right out of the box. Right now I have people using it on Mac, Linux and Windows…
Jalau
  • 303
  • 1
  • 2
  • 11
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
  • 428
  • 7
  • 17
4
votes
2 answers

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
  • 11,931
  • 7
  • 64
  • 137
3
votes
0 answers

VSCode support for OpenJFX

I have made an OpenJFX project and am running it with the following options: --module-path ${JAVAFX_HOME} --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,javafx.media,javafx.swing,javafx.web This works as expected and creates…
3
votes
2 answers

Horizontal ScrollBar is visible in TableView with constrained resize policy

The horizontal ScrollBar of the TableView(with constrained resize policy) keeps flashing when the TableView is resized(shrinking). I believe this is a long lasting issue as I can find the open ticket for this issue as JDK-8089009 and other reference…
Sai Dandem
  • 8,229
  • 11
  • 26
3
votes
1 answer

Is there a JavaFX way to add a file to OS recent files?

I have an application that shows a JavaFX/OpenJFX FileChooser, when the user chooses a file it should appear in the OS recent files list, but it doesn't happen. How could I create a symlink or add the file to the OS recent files? Thanks.
bichoFlyer
  • 178
  • 9
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,773
  • 6
  • 43
  • 63
1 2
3
15 16