Questions tagged [javafx]

JavaFX is the Java API for Java based UI programming.

JavaFX is the Java API for Java based UI programming. There are books, documentation, forums and more dedicated to writing applications in JavaFX and can be easily found with a Google search on "JavaFX".

From a Raspberry Pi perspective, JavaFX is supplied with the current Raspbian distribution (as of 2015-04-15). This shows up with:

$ java -version
java version "1.8.0"
Java(TM) SE Runtime Environment (build 1.8.0-b132)
Java HotSpot(TM) Client VM (build 25.0-b70, mixed mode)

Later versions of Java from Oracle no longer contain the JavaFX distribution as it has now been open sourced to OpenJDK.

21 questions
4
votes
1 answer

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 got crashed really fast since I was not able to…
Sebu
  • 161
  • 4
3
votes
0 answers

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 https://github.com/sarxos/webcam-capture/issues/419.…
3
votes
1 answer

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 but I made a graphical alert that pops up when the…
nawf
  • 41
  • 6
3
votes
0 answers

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.BaseGraphics.drawTexture attempting to render the…
Autumn
  • 229
  • 2
  • 4
2
votes
1 answer

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 JavaFX following this guide:…
0__
  • 522
  • 8
  • 27
2
votes
0 answers

Numpad keys don't throw KeyEvents under JavaFX on RPi3

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 any KeyEvent, while on my normal PC it does as it…
Ignatiamus
  • 121
  • 3
2
votes
0 answers

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 to work at first sight, I notice a problem with…
maxclaey
  • 21
  • 2
2
votes
2 answers

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 touch screen GUI interface. The problem I am…
iamjoshlee
  • 23
  • 3
2
votes
0 answers

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 message. I am using JavaFX 11 with Intellij Idea as…
pravin
  • 21
  • 1
1
vote
1 answer

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 to click anything, the cursor isnt where Im…
Mathias
  • 41
  • 3
1
vote
1 answer

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 acceleration (what I want in my java project). But if I try…
1
vote
0 answers

Autorun JavaFX Application (Raspbian)

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 application and it seems like it does run, but there is no…
1
vote
1 answer

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 application on my Pi. The program takes a very…
1
vote
2 answers

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 can setup Gluon OpenJFX. So far i did: sudo…
1
vote
0 answers

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 where if I move the cursor "out" of the screen,…
mhmmx
  • 11
  • 1
1
2