invalidate();
Container currentParent = parent; if (currentParent != null) { currentParent.invalidate(); currentParent.repaint(); }
  public void hide()  {    if (isVisible())      {        if (peer != null)          peer.setVisible(false);        this.visible = false;        invalidate();        ComponentEvent ce =          new ComponentEvent(this,ComponentEvent.COMPONENT_HIDDEN);        getToolkit().getSystemEventQueue().postEvent(ce);      }	}