Questions tagged [openjfx]
229 questions
0
votes
0 answers
tilesfx - can't reduce frame
I'm facing this problem usin tilesfx:
I'm trying to reduce the distance between the tiles "frame" (the area of background visible between my node and the "border") and the inner object that is a JavaFX node with my content
var n = MyNode("This is my…

DDS
- 2,340
- 16
- 34
0
votes
1 answer
JavaFX program only runs everywhere except Raspberry Pi 3
I've written a program in IntelliJ Idea using JavaFX. It uses a Webkit property to display an html page in a JavaFX Window. My Program runs on every Device (Windows and Linux) except the Raspberry Pi 3b it should be running on. When I try it gives…

Auralyn
- 1
- 1
0
votes
1 answer
Cannot run OpenJFX's non modular maven sample
Title is pretty self explanatory, I've downloaded the non-modular maven sample code for JavaFX from OpenJFX (from here) and I can't run it.
It compiles without any error but when I try to run it I get this error
[INFO] Scanning for…

Johan Daniel
- 29
- 4
0
votes
0 answers
How to enable OpenJFX web view remote inspector
I am currently trying to enable remote inspector for a OpenJFX web view component in order to be able to debug javascript code interactions with the Java part of the application. This is why I cannot debug the web part in a standalone browser.
There…

j_kubik
- 6,062
- 1
- 23
- 42
0
votes
2 answers
Where do I find JavaFX ant tasks in Java 11?
VSCode, Java 11 JavaFX 18.0.2
I am trying to package my code up for distribution as a desktop app. In my case I want a fully self-contained app because of my target user's profile.
I have been through Jenkov add the Oracle docs here and here which…

Simon
- 78,655
- 25
- 88
- 118
0
votes
0 answers
what is --module-path in java 8
I have installed openjfx with JDK8 on Ubuntu. I am adding openjfx modules with --module-path flag. But module-path flag is missing in Java 8. I have tried using classpath but that doesn't seem to work.
javac --module-path /usr/share/openjfx/lib…

Fitohe
- 13
- 1
- 3
0
votes
1 answer
Cannot use miglayout with swing and javafx at the same time
My application needs to start as a javafx application and create some swing jframe istances. I Would like to use MigLayout both for java swing container and javafx panes. The app works fine as long as i use miglayout only in javafx. As i use it for…

BabaNew
- 884
- 1
- 13
- 27
0
votes
0 answers
Java FXML java.lang.IllegalStateException: Location is not set
I'm trying to create application using FXML file for my window, but I can't get this to work, none of answers on StackOverflow worked for me and I'M stuck.
Class where I want to load file
public FXMLWindow() {
final FXMLLoader fxmlLoader =…
0
votes
0 answers
Getting empty jars while importing javafx libraries with maven or gradle
I wrote
// https://mvnrepository.com/artifact/org.openjfx/javafx-base
implementation group: 'org.openjfx', name: 'javafx-base', version: '17.0.1'
in my geadle file and got empty jar. On jars page I see, that generic jar is really empty, while…

Dims
- 47,675
- 117
- 331
- 600
0
votes
1 answer
Popular problem "Error occurred during initialization of boot layer"
I know the topic has come up a few times, but no solution helps.... I'm getting this error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module sample not found
I added VM options:
--module-path…

markiewicz36
- 37
- 5
0
votes
0 answers
GluonFX, native image and java.lang.ClassNotFoundException: javafx.scene.web.WebView
I am trying to convert my javaFX program into native image, under windows, using the GluonFX plugin and Maven.
Since I use javafx WebView, the exe file generated, at the time of its execution, tells me the error:
java.lang.ClassNotFoundException:…

Rocco Trigiante
- 11
- 3
0
votes
1 answer
Error with JavaFX Project: ImageIO and BufferedImage not visible
I'm working on revamping a JavaFX project I created back in 2018. I have the original main script but now there seems to be 2 FX related errors now. import javax.imageio.ImageIO; import java.awt.image.BufferedImage; I am using Apache NetBeans with…

PocketPixie
- 37
- 7
0
votes
0 answers
Intellij wont show Maven archetype, even though the files are in local repository
Ive been trying to set up JavaFX with Maven nearly the whole day.
Although it seems to be working (I could run the demo and there were no errors), I am still puzzled as to why I cant find the "org.openjfx:..." Archetypes in the "new Project…

Görkem
- 1
- 4
0
votes
1 answer
JavaFX error in WSL 2 : java.lang.UnsupportedOperationException: Unable to open DISPLAY
I just switched from Ubuntu 20.04 distro back to Windows with integrated WSL 2, and I am having trouble running my JavaFX project.
I get the following error stacktrace around launch(args) inside main method…

hexaquark
- 883
- 4
- 16
0
votes
1 answer
OpenJFX / JavaFX 16 WebView cannot display a simple webpage using WebGL
I've just tried to run a rudimentary example using OpenJFX 16 that is intended to open a webpage of a WebGL demo showing some blobs:
import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.VBox;
import…

gouessej
- 3,640
- 3
- 33
- 67