Questions tagged [javafx]

JavaFX is the Java API for Java based UI programming.

Filter by
Sorted by
Tagged with
0
votes
0answers
41 views

OpenJDK that includes JavaFX, including WebView

Standard OpenJDK-11-JDK of Raspbian doesn't have JavaFX. BellSoft build does have JavaFX but does not support WebView (Webkit). How to be able to use WebView on the Pi (4 in this case with Buster)?
0
votes
1answer
37 views

Why do I have to add arm architecture to use AdoptOpenJDK arm32 installation [closed]

I am packaging some JVM application with AdoptOpenJDK / 11 / HotSpot. I am using the arm32 build, which AFAICS is the only build suitable for Raspbian (running Buster). However, when I build my .deb ...
1
vote
1answer
351 views

JavaFX application does not accept touch inputs

I am trying to run a javaFX application on a raspberry pi 3b+ with a 7" 1024x600 touchscreen by Lebula. When I plug a mouse in, the application works as normal, but, when I try to use the touchscreen, ...
2
votes
0answers
216 views

Raspberry pi 3b+; buster touch events

I am a beginner with the raspberry pi and trying to get my hands dirty on RPi 3b+, OS- Buster, 7 inch HDMI- touch screen. I am trying to build simple gui with one button and one label to display a ...
2
votes
1answer
140 views

Running videos on JavaFX in Raspberry Pi Zero

I am trying to run a program which shows a simple video through mediaView and then shows a QR code that is associated with a string that the program generates on javaFX in a Raspberry Pi Zero. I have ...
1
vote
0answers
191 views

Unable to run JavaFX application on Raspberry Pi 4B

I have developed one JavaFX touchscreen application with screen size 800x480 which runs fine on RPi 3 with the Raspberry Pi 7" Touchscreen Display in the default resolution (800x480). Now I am trying ...
1
vote
1answer
240 views

Raspberry pi, javaFX, lcd touch display, cursor misconfigured?

Im starting my java-application on the pi, the program works fine on my stationary computer. However, when I transfer the jar-file to the pi and start the program, I can see everything, but when I try ...
2
votes
1answer
217 views

JavaFX missing class JFXPanel

So I have an OpenJDK 8 installed on Raspbian Stretch; it crashes all the time. I then manually installed Oracle JDK 8u201 ; my app runs fine now no crashes. It misses JavaFX, though. I installed ...
0
votes
1answer
514 views

Gstreamer with Java | WARNING and Failed to load plugin

I try to launch the gst1-java binder on the Raspberry Pi 3B with the latest Raspbian Stretch and latest firmware. If I launch anything with gst-launch-1.0 it work great, I have hardware ...
0
votes
1answer
551 views

JavaFX and transparency

I'm working on a project who involve JavaFX and Omxplayer. On Windows, where I develop, my code works. I set my stage to stage.initStyle(StageStyle.TRANSPARENT); stage.setOpacity(0.5); On Windows, ...
2
votes
0answers
408 views

Numpad keys don't throw KeyEvents under JavaFX on RPi3 [closed]

While programming a JavaFX application for the Raspberry Pi 3 using the official JavaFXPorts from Gluon, I encountered the following problem: Pressing the numpad keys on my keyboard doesn't give me ...
0
votes
1answer
2k views

JavaFX: Cannot open display problem

I want to create some GUI for Raspberry Pi 1 B. So I found JavaFX is best for my purpose. Installed it following this tutorial : oracle.com/webfolder/technetwork/tutorials/obe/java/RaspberryPiFX/...
1
vote
0answers
170 views

Autorun JavaFX Application (Raspbian) [closed]

I am trying to autrun my JavaFX application right after booting. The Application works fine when executing it by "java -jar Application.jar". I have tried many different ways to autorun my ...
1
vote
1answer
1k views

JavaFX on Raspberry PI 3 (Fullscreen/Black Bars)

I have Raspbian installed on my Pi 3. I am trying to develop a JavaFX application which needs to send and receive data over serial interface so I use PI4J. Now i have a few problems when running this ...
3
votes
0answers
611 views

Unable to capture high-quality video on pi in Java(FX)

Current I am developing a JavaFX application that should display video to the user. I use https://github.com/sarxos/webcam-capture to retreive video data. I use v4l4j to get video on the pi. I use ...
4
votes
1answer
532 views

Java/OpenJFX exception at FileChooser.showOpenDialog

I'm developing a JavaFX application which works perfectly fine on any Windows computer. Now I am trying to transfer that onto the Raspbian OS. My initial thought of perfect platform-independent Java ...
1
vote
2answers
1k views

JavaFX Setup on Raspbian Jessie Lite

I've Downloaded 2017-04-10-raspbian-jessie-lite.img to run my JavaFX application. But it's not working. On Google I've noticed that Java8 doesn't have support for JavaFX on ARM like Raspberry, but we ...
3
votes
1answer
200 views

A java jar file runs fine if run from console but generates exception if run at startup

I wrote a JavaFX program which also utilizes JSON. When run at startup, the try catch around the JSON parsing piece of the code throws an exception. I can't see the exception printed in the console ...
1
vote
0answers
605 views

Fullscreen JavaFX application on RPi Cursor Bug

I posted this issue on the Raspberry Pi forums, however I didn't receive any replies and am hoping you guys might be able to help me out. I am having an issue running fullscreen JavaFX applications ...
2
votes
0answers
345 views

javafx 7" touchscreen blanking

I recently bought a Raspberry Pi 3 and the official 7" touchscreen. The goal is to run a JavaFX application that serves as a central point to control home automation services. While everything seems ...
3
votes
0answers
545 views

Raspberry Pi 2 and JavaFX8: Can't render small images without more GPU RAM

I'm trying to write a simple FX8 image display program on the Raspberry Pi2 without increasing the GPU memory beyond the default 64MB. I seem to get me a NullPointer Exception at com.sun.prism.impl....
2
votes
2answers
581 views

Alternative to java for an embedded system

Right now I am working on a project that requires sending ascii commands via serial to control a machine (i.e, turning a machine on off, change speed, etc.). The whole thing will be controlled with a ...
1
vote
1answer
283 views

Can I open a JavaFX dialog in my Java app?

I have written a Java application that opens a dialog (FileChooser) which runs fine on Windows but when I try and run it on the Pi, the dialog fails to appear. What may be wrong?