gbc.gridy = 0;
gbc.gridwidth = 1;
addErrorPane(gbc);
gbc.gridy ++;
tableModel = getIndexTableModel();
SelectableTableCellRenderer renderer = new SelectableTableCellRenderer();
table = Utilities.createSortableTable(tableModel, renderer);
renderer.setTable(table);
table.getSelectionModel().setSelectionMode(
ListSelectionModel.SINGLE_SELECTION);
table.setDragEnabled(false);
table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF);
table.addMouseListener(new MouseAdapter()