Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

remote swing gui problem

807569May 23 2006 — edited May 23 2006
I'm running a Java 1.5 Swing app remotely (i.e. it runs on linux, and my X server is on PC) but I'm only seeing a blank window. The exact same code runs fine with java 1.4.

This behavior occurs for any remote 1.5 Swing app, even a simple one like this...
JFrame frame = new JFrame();
frame.setSize(400,300);
frame.getContentPane().add(new JLabel("Test"));
frame.setVisible(true);
The particular X server I'm using is XConnectPro... does anyone have any ideas as to why swing under java 1.5 doesn't work remotely?
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 20 2006
Added on May 23 2006
1 comment
119 views