if (e.getActionCommand().equals("APPLY")) { saveProps(); }
   public void actionPerformed(ActionEvent e) {      if (e.getActionCommand().equals("DONE")) {         saveProps();         setVisible(false);      }      if (e.getActionCommand().equals("ADD")) {         Configure.doEntry((JFrame)getParent(),null,props);         ctm.addSession();      }      if (e.getActionCommand().equals("REMOVE")) {         removeEntry();         editButton.setEnabled(false);         removeButton.setEnabled(false);      }      if (e.getActionCommand().equals("EDIT")) {         int selectedRow = rowSM.getMinSelectionIndex();         Configure.doEntry((JFrame)getParent(),(String)ctm.getValueAt(selectedRow,0),props);         ctm.chgSession(selectedRow);      }      if (e.getActionCommand().equals("CONNECT")) {         doActionConnect();      }   }