Hi,
tested your application on a Raspberry Pi 2 (OpenJFX jdk1.8.0_73, latest Jessie Version).
Running fine via
a) the b4j-bridge (running on the Raspberry Pi) and
b) from the desktop in a terminal session by invoking
$sudo java -jar ShowView.jar. Note that you need to
run as sudo else error that mouse class can not be found.
Note: Added a Close Button to be able to close the MainForm.
What error messages do you get?
BTW: This is the procedure I used to install Java and OpenJDK = again just to go for sure if this matches your installation steps.
#OpenJFX Installation on the Raspberry Pi
Status 20160212 using jdk-8u73: This can change depending on the Java JDK version.
Step 1
Download Java JDK for Linux ARM32
Open
http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
Accept the Licence Agreement
Download jdk-8u73-linux-arm32-vfp-hflt.tar.gz to /home/pi/Downloads
Step 2
Install JDK in folder /opt
cd /home/pi/Downloads
Unpack the tar.gz file to /opt:
sudo tar zxvf jdk-8u73-linux-arm32-vfp-hflt.tar.gz -C /opt
Step3
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_73/bin/javac 1
Step4
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_73/bin/java 1
Step5
sudo update-alternatives --config javac
In the dialog, select option 1
Step6
sudo update-alternatives --config java
In the dialog, select option 1
Step7
Download the OpenJFX
http://108.61.191.178/downloads/openjfx-8u40-sdk-overlay-linux-armv6hf.zip
Step8
Install the OpenJFX in folder /opt/jdk1.8.0_73
sudo unzip openjfx-8u40-sdk-overlay-linux-armv6hf.zip -d /opt/jdk1.8.0_73