how to add invalid rectangles to redraw area
I am processing a paintComponent(Graphics g) event. Sometimes, I may have a thread running and I want to make the area on the screen that is invalid larger than the clip area that the graphics object passed in indicates it is. I've tried getting the clipbounds 'g' using g.getClip, g.getClipBounds etc. and using my additional info to try to increase the clip bounds to a larger rectangle. This won't work. I dont' want to call repaint and do the entire panel again.
Is there a way to change the area of the panel that is invalid?