Questions tagged [openjfx]

229 questions
0
votes
0 answers

Java FX not working on LINUX PC 7.4 RHEL which works in windows

created jar file using the javaFX 1.8 where it is working in windows but in linux it throwing an exception Error: Could not find or load main class {name of the class that is missing} Caused by:…
Vinooooo
  • 15
  • 4
0
votes
1 answer

Speed up adding data to JavaFX TreeTableView

I'm using JavaFX/OpenJFX for GUI in Java, and need to populate TreeTableView with millions of items. However, it currently takes a very long time to do it. Is there a way to speed it up? Here is my code: List> rootChildren…
aleksmath
  • 3
  • 1
  • 3
0
votes
1 answer

JavaFX16: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @...'

I have a Maven multi-module project on IntelliJ that produces 3 jars, 2 of which are executables and the other one is for commmon resources. One of the executable modules has a main class that asks if the user wants to start the program with CLI or…
0
votes
0 answers

Running older Swing code on OpenJDK11/OpenJFX - how to fix IllegalAccessError?

I have a very old Swing-based java app that ran fine on Java 8 and I'm trying to switch to Java 11. It relies on JavaFX. I downloaded OpenJDK 11.0.11_9 JRE and the closest corresponding OpenJFX (11.0.2). I run the project with the necessary…
user272901
  • 103
  • 6
0
votes
1 answer

How to create an alias to an ArrayList object used in another class

So I have 3 different classes, one: to create State objects, two: to read data from a csv file and pass this data to the State constructor in order to create an ArrayList of State objects, and three: to display this information in a GUI. the code…
0
votes
1 answer

Why does Javafx native image does not work with the class javafx.scene.media.MediaPlayer?

I build a native image on win 10 with gluon plugin and graalvm ce 21.0.0. If i build the app without javafx.scene.media.MediaPlayer the client works fine. If i am using the class javafx.scene.media.MediaPlayer i realized that the folder…
0
votes
0 answers

JavaFx + Maven: no main manifest attribute

I have an OpenJFX Maven project. It successfully runs using Eclipse. When I create and run a jar(using java -jar app.jar) an error occurs: no main manifest attribute in jar. The project dependencies and plugins from pom.xml:
Oleksii Valuiskyi
  • 2,691
  • 1
  • 8
  • 22
0
votes
1 answer

FXMLLoader.load() throws IllegalAccessError

I am building javafx application in which i am trying to load .fxml file using FXMLLoader. Doing so, it throws IllegalAccessError Without FXMLLoader application runs fine. I am using Maven tool and dependencies are included:
Wortig
  • 963
  • 2
  • 11
  • 37
0
votes
1 answer

OpenJFX TreeTableView rendering issue

I was hoping there are other developers have similar issue that can share how to resolve this issue. I'm in the midst of using OpenJFX in one of my pet project. The project was tested on Oracle JDK 1.8 with JFX package included. When run on the…
Chris Liaw
  • 67
  • 2
  • 9
0
votes
1 answer

Javafx mouse event y coordinate offset incorrect in subscene

I created a star plotting application to plot labels for a 3d star plotter so that the labels are mapped local to scene. I wanted to do this so that whenever I rotate the starfield, the labels are always facing forward and don't rotate with the…
EvilJinious1
  • 2,773
  • 6
  • 43
  • 63
0
votes
0 answers

Open jfx jar is not working in all operating sytems

I followed the steps mentioned in Microsoft Windows 10 https://dzone.com/articles/how-to-build-openjfx-8-on-windows-from-source It's working good with windows 10. But If I move jfxrt.jar and other dependcies to Windows Server 2016, Its not…
0
votes
0 answers

How to invoke HSQLDB DatabaseManager Swing app in JavaFX Swingnode?

I am trying to embed the HSQLDatabaseManager Swing App in my own JavaFX project. public class SQLTool extends Application { @Override public void start (Stage stage) { final SwingNode swingNode = new SwingNode(); …
Marko
  • 47
  • 5
0
votes
0 answers

Change value in a TextField inside a TreeTableCell in OpenJFX

While accessing the field using getDeclaredField("textField") no longer works from Java12 I am looking for a better way to update the text inside a TreeTableView. I was thinking of a TextFieldTreeTableCell, would that work? How can be instantiated…
AndreiD
  • 113
  • 1
  • 11
0
votes
1 answer

JavaFx Weird Exception !! Exception in Application start method

i hope you are doing well in this difficult period, i'm developping a JavaFx client for my rest web services and while running my app there is a weird exception that point my LoginPresenter class, i'hv checked all the source path but nothing to…
Fraxn
  • 23
  • 8
0
votes
0 answers

How to debug JavaFX application with jdk14/javafx14/Eclipse v.2020-03?

I'm trying to run a JavaFX application to test some custom controls based on jdk14 and JavaFX14. My operating system is Windows 10, the IDE is Eclipse 2020-03, and I use m2e Maven plugin. The controls are exact copies of controls developed under…
jfr
  • 397
  • 2
  • 17