+ 1
Run swing on my phone
When I run a swing application on my phone I saw this Exception Exception in thread "main" java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(Unknown Source) at java.desktop/java.awt.Window.<init>(Unknown Source) at java.desktop/java.awt.Frame.<init>(Unknown Source) at java.desktop/java.awt.Frame.<init>(Unknown Source) at java.desktop/javax.swing.JFrame.<init>(Unknown Source) at Main.<init>(Main.java:4) at Main.main(Main.java:12) what does it mean?
2 Réponses
- 1
there are ways how to run FX on android