*
The moose likes Performance and the fly likes Java GUI is extremely slow if accessed by X-Windows Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "Java GUI is extremely slow if accessed by X-Windows" Watch "Java GUI is extremely slow if accessed by X-Windows" New topic
Author

Java GUI is extremely slow if accessed by X-Windows

Miro Ricco
Ranch Hand

Joined: Apr 16, 2002
Posts: 40
Hello

I'm running applications on Solaris 8 machine accessed using XWindows.
There is slow network connection to the machine.
Native applications are running slowly, but the performance is aceptable.
Java GUI applications are extremely slow.

How can I make it appear faster ?

I cannot change the connection speed, but I'm developer of the java applications, so I can modify the source code, if necessary ...

Best regards
Miro
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
What kind of java applications are running slowly?

I suspect the best candidate for performance optimization would be to reduce the number of repaints, and to make the regions of repaint as small as possible.


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

If you're using JDK 1.3, upgrade to 1.4. The remote-X performance difference is huge.

Also consider using VNC instead of X if that's at all possible -- it's much better over a slow link, TightVNC especially.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java GUI is extremely slow if accessed by X-Windows