public boolean contentsRestored() { return false; }
public boolean contentsRestored() { GraphicsConfiguration c = GraphicsEnvironment.getLocalGraphicsEnvironment() .getDefaultScreenDevice().getDefaultConfiguration();  boolean imageRestored = false;  for (int i = 0; i < backBuffers.length; i++) { int result = backBuffers[i].validate(c); if (result == VolatileImage.IMAGE_RESTORED) imageRestored = true; else if (result == VolatileImage.IMAGE_INCOMPATIBLE) return false; }   validatedContents = true; return imageRestored; }
    public boolean contentsRestored() { return false; }