_categoryTable.setCellSelectionEnabled(false);
_categoryTable.setRowSelectionAllowed(true);
_categoryTable.setAutoResizeMode(JTable.AUTO_RESIZE_ALL_COLUMNS);
_categoryTable.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
final BugCategoryTableModel model = new BugCategoryTableModel();
_categoryTable.setModel(model);
_categoryTable.getColumnModel().getColumn(0).setPreferredWidth(20);
_categoryTable.getColumnModel().getColumn(1).setPreferredWidth(180);
_categoryTable.getColumnModel().getColumn(2).setPreferredWidth(170);
_categoryTable.setOpaque(false);
syncTableModel(model);
model.addTableModelListener(new TableModelListener() {
public void tableChanged(final TableModelEvent e) {
if (e.getColumn() == 0 && TableModelEvent.UPDATE == e.getType()) {
final String enabled = String.valueOf(model.getValueAt(e.getFirstRow(), 0));
final String category = String.valueOf(model.getValueAt(e.getFirstRow(), 2));
_parent.getDetectorConfig().getModel().enableCategory(category, Boolean.valueOf(enabled));
updatePreferences(category, enabled);
}