hide();
setVisible(false);
  public void dispose()  {    hide();    JDesktopPane pane = getDesktopPane();    if (pane != null)      pane.setSelectedFrame(null);    else      {	try	  {	    setSelected(false);	  }	catch (PropertyVetoException e)	  {	    // Do nothing if they don't want to be unselected.	  }      }    isClosed = true;    fireInternalFrameEvent(InternalFrameEvent.INTERNAL_FRAME_CLOSED);    removeNotify();  }