1

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?

asked Apr 15, 2015 at 21:19

1 Answer 1

2

JavaFX on the Pi runs on a single primary JavaFX stage. The implementation on Pi does not allow additional stages. As such, you can't create secondary windows or dialogs that open in their own windows. This is simply a restriction in the current release. The release at which this restriction is present is at least:

$ 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) 
answered Apr 15, 2015 at 21:19

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.