[Advanced-java] window refresh question

Alvin Wang xwang at qtechservices.com
Fri Apr 11 22:42:54 2003


Hi, I am writing a multi-window Java application. It receives huge amount of
data from network and displays in JTables. So basically, it is swamped. When
the users moves the windows, it does not have time to handle the repaint
events, so the screen smears.

In X-Windows, we can suppress the window events, which means the application
will drop some events if it sees itself far behind. The other way in
X-Windows is the server can save-behind, which means instead of trying to
repaint some area, it will save that area for future repaint event.

I am not a GUI expert. Can any guru give me some suggestions how to improve
in Java world, or acheive similar strategies I described above in Java?

Thanks very much!