DatasetEditorTable editorTable = getEditorTable();
DatasetEditorModel model = getTableModel();
if (editorTable != null && model != null) {
int[] indexes = editorTable.getSelectedRows();
model.deleteRecords(indexes);
}
}
public void insertRecord() {
DatasetEditorTable editorTable = getEditorTable();