Sounds like a problem that could be solved with double-buffering...this involves painting the new image to a storage area of memory before it is actually painted to the screen. The result is flicker-free animation, or in your case, hopefully smooth error-free repainting of the window. Do a search for double-buffering in the popular
applet tutorials, and I'm sure you'll find out more details of how to implement the technique.
------------------
- Ryan Burgdorfer
- Java Acolyte in
- Columbus, OH USA