setVisible(false);
try {Thread.sleep(500);}catch(java.lang.InterruptedException ie) {} this.dispose();
   private void doActionConnect () {      int selectedRow = rowSM.getMinSelectionIndex();      connectKey = (String)ctm.getValueAt(selectedRow,0);      saveProps();      setVisible(false);   }