开发者

Java GUI Crash happens over VNC!

开发者 https://www.devze.com 2023-01-11 04:33 出处:网络
I have a Java GUI based Application. When I run it 开发者_如何学Con Windows it works fine. But when I am in vnc session to a Linux Box without X11 graphics enabled. Out of 20 runs of the software on a

I have a Java GUI based Application. When I run it 开发者_如何学Con Windows it works fine. But when I am in vnc session to a Linux Box without X11 graphics enabled. Out of 20 runs of the software on an average 1 run fails to bring up the GUI in two different ways,

  • The GUI shrinks to a small square.
  • The GUI doesn't appear at all.


...without X11 graphics enabled.

Assuming you are Using Headless Mode, be sure that you construct your GUI on the event dispatch thread; otherwise, the result is indeterminate.

0

精彩评论

暂无评论...
验证码 换一张
取 消