protected void createBufferImage()
  {
    if ((this.Added) && (getSize().width > 0) && (getSize().height > 0))
    {
      if (this.GroundBufferGraphics != null)
        this.GroundBufferGraphics.dispose();
      if (this.GroundBufferImage != null) {
        this.GroundBufferImage.flush();
      }
      this.GroundBufferImage = createImage(500, 400);
      this.GroundBufferGraphics = this.GroundBufferImage.getGraphics();
    }
  }