Questions tagged [javafx]

JavaFX is the Java API for Java based UI programming.

Filter by
Sorted by
Tagged with
0 votes
0 answers
127 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)?
  • 502
0 votes
1 answer
241 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 ...
  • 502
1 vote
1 answer
443 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
0 answers
250 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 ...
  • 21
3 votes
1 answer
197 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
0 answers
246 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 ...
  • 11
1 vote
1 answer
262 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 ...
  • 41
2 votes
1 answer
357 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 ...
  • 502
1 vote
1 answer
707 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
1 answer
644 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
0 answers
454 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
1 answer
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/...
  • 211
1 vote
0 answers
181 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
1 answer
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
0 answers
652 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
1 answer
608 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 ...
  • 161
1 vote
2 answers
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
1 answer
293 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 ...
  • 41
1 vote
0 answers
610 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 ...
  • 11
2 votes
0 answers
355 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
0 answers
557 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....
  • 229
2 votes
2 answers
666 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
1 answer
287 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?
  • 1,774