if (ctm.getRowCount() == 1) { sessions.getSelectionModel().setSelectionInterval( 0, 0); }
	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();		}		if (e.getActionCommand().equals("APPLY")) {			saveProps();		}	}