if(frame != null) { frame.setVisible(false); frame = null;
if(bAutoClose) { if(frame != null) { frame.setVisible(false); frame = null; }
	public void ancestorRemoved(AncestorEvent event) {	  if(frame != null) {	    frame.setVisible(false);	    frame = null;	  }	}