tblRules.setDefaultRenderer(Color.class, new ColorRenderer());
tblRules.setDefaultEditor(Color.class, new ColorEditor(this));
tblRules.getColumnModel()
.getColumn(5).setCellRenderer(new ColorExampleRenderer());
tblRules.getSelectionModel()
.addListSelectionListener(
new ListSelectionListener() {