I have a simple java program with a Dialog Box
String s = (String)JOptionPane.showInputDialog(
frame,
"Complete the sentence:\n"
+ "\"Green eggs and...\"",
"Customized Dialog",
JOptionPane.PLAIN_MESSAGE,
icon,
possibilities,
"ham");
If I launch the program from the Raspbian terminal the Dialog Box appear, but if I connect to the Raspbian with SSH from my macbook and I launch the program from there the Dialog Box doesn't appear. What could be the problem ?
X11Forwardingenabled in the sshd config on the raspberry?