private void blitToComponent(Graphics gScreen) {
		if (m_offscreen == null)
			return;

		do {
			int returnCode = m_offscreen.validate(getGraphicsConfiguration());
			if (returnCode == VolatileImage.IMAGE_RESTORED) {
				// Contents need to be restored
				renderOffscreen(); // restore contents
			} else if (returnCode == VolatileImage.IMAGE_INCOMPATIBLE) {
				// old vImg doesn't work with new GraphicsConfig; re-create it
				renderOffscreen();
			}
			gScreen.drawImage(m_offscreen, 0, 0, this);
		} while (m_offscreen.contentsLost());
	}