Has anybody else noticed Swing restoring from the wrong portion of the backbuffer if it isn’t the foreground application? This seems to be Windows only (OS X has a real back buffer now.) but if I drag a window in front of my applet I can see it restoring content from the origin of my window rather than the portion that needs to be repainted.
Anybody else run into this? I can’t seem to catch it as it messes up. My partial hack has been to force a repaint on paintImmediately if I’m not in the foreground (also a hack since an applet can’t check if it is in the foreground) but it still nails me with an incorrect redraw shortly after my window becomes frontmost again.
It would be a major pain to post all the code involved, just hoping maybe one of you had seen this and found a solution.
changed title to be slightly more descriptive