By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,275 Members | 947 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,275 IT Pros & Developers. It's quick & easy.

Urgent!!! Remote Swing application is very slow.

P: 3
I have problems running my Java Swing application remotely on a Linux machine. The application takes 20/30s to respond to events and painting takes considerable time.

This is not a special case for my app. I copied SwingSet.jar demo over and this is also very slow to response.

The command is ssh - X <remote-machine>. It is the bash shell.
I have tried setting "ForwardedX11Trusted" in ssh/ssh_config file. Setting environment variables NO_J2D_DGA, J2D_PIXMAPS=shared and -Dsun.java2d.pmoffscreen=false but none of this worked for me.

Can anyone help on this.
May 24 '07 #1
Share this Question
Share on Google+
1 Reply


10K+
P: 13,264
I have problems running my Java Swing application remotely on a Linux machine. The application takes 20/30s to respond to events and painting takes considerable time.

This is not a special case for my app. I copied SwingSet.jar demo over and this is also very slow to response.

The command is ssh - X <remote-machine>. It is the bash shell.
I have tried setting "ForwardedX11Trusted" in ssh/ssh_config file. Setting environment variables NO_J2D_DGA, J2D_PIXMAPS=shared and -Dsun.java2d.pmoffscreen=false but none of this worked for me.

Can anyone help on this.
This may well be better answered in the Linux forum then. I suppose your heap size is fine?
May I point out however that swing is best for desktop applications accessed locally. For remote applications you may want to consider the JSP/servlets approach.
May 24 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.