[JAVA2D] Swing/AWT Union of Bounds

2004-07-13 Thread Dave Aufderheide
I'm writing a 2D graphics application and have run into a problem where my dirty bounds are getting unioned together to form one larger dirty bounds. Normally this is a pretty good idea to do, but it's causing graphics artifacts because its causing half an image to be redrawn even though it is

Re: [JAVA2D] Swing/AWT Union of Bounds

2004-07-13 Thread Jim Graham
The repaint model is more targetted at applications which have a concept of the current state that needs to be displayed which tends to be updated mostly atomically. Repainting just a small rectangle is meant more as an optimization to indicate which parts of the screen have new data that needs