Something funky seems to be going on when I try to move or resize the jFrame. It doesn’t consistently happen either, like there’s a 20% chance each time I resize or move it.
Anyhow what happens is, my application stops drawing, but everything else keeps running. Even the methods that are supposed to draw keep on running.
If it even helps, my draw loop inside the jFrame looks like this:
public void PaintGraphics()
{
Graphics g = strategy.getDrawGraphics();
... [methods drawing to g ] ...
g.dispose();
strategy.show();
}
Any ideas on how to check/restore the drawing once this happens? Or how to prevent it maybe?