TableCellEditor editor = propertiesTable.getCellEditor(); if (editor != null) { editor.stopCellEditing(); }
    private void buildPropertiesAndDispose() {    	// Copy over the new set of properties from the properties table        // model.        properties.clear();        Properties newProps = tableModel.getProperties();        Enumeration keys = newProps.keys();        while (keys.hasMoreElements()) {            String key = (String)keys.nextElement();            properties.put(key, newProps.getProperty(key));        }        dispose();    }