public void editingStopped(ChangeEvent e) {
TableCellEditor editor = getCellEditor();
if (editor != null) {
if (editor instanceof DatasetTableCellEditor) {
DatasetTableCellEditor cellEditor = (DatasetTableCellEditor) editor;
if (cellEditor.isEditable()) {
try {
Object value = cellEditor.getCellEditorValue();
setValueAt(value, editingRow, editingColumn);
} catch (Throwable t) {
Object value = cellEditor.getCellEditorValueLenient();
setValueAt(value, t.getMessage(), editingRow, editingColumn);
}
}
}
removeEditor();