public DatasetEditorTable(DatasetEditor datasetEditor) throws SQLException {
super(createModel(datasetEditor), false,
new RecordViewInfo(
datasetEditor.getDataset().getQualifiedName(),
datasetEditor.getDataset().getIcon()));
getTableHeader().setDefaultRenderer(new DatasetEditorTableHeaderRenderer());
this.datasetEditor = datasetEditor;
getSelectionModel().addListSelectionListener(getModel());
addKeyListener(new DatasetEditorKeyListener(this));
addMouseListener(tableMouseListener);