public Image createImage(int width, int height)
public Image createImage(ImageProducer prod)
  public Image createImage(int width, int height)  {    GraphicsEnvironment graphicsEnv =      GraphicsEnvironment.getLocalGraphicsEnvironment();    GraphicsDevice dev = graphicsEnv.getDefaultScreenDevice();    GraphicsConfiguration conf = dev.getDefaultConfiguration();    Image image = conf.createCompatibleImage(width, height);    return image;  }