void (JTable table, Object value, boolean selected) { myPanel.removeAll(); myPanel.setBackground(null); myRenderer.clear(); myRenderer.setBackground(null); // 7-8, a hack if (value instanceof SvnChangeList changeList) { myRenderer.renderChangeList(table, changeList); final Color bg = selected ? UIUtil.getTableSelectionBackground(true) : UIUtil.getTableBackground(); final Color fg = selected ? UIUtil.getTableSelectionForeground() : UIUtil.getTableForeground(); myRenderer.setBackground(bg); myRenderer.setForeground(fg); myCheckBox.setBackground(bg); myCheckBox.setForeground(fg); myPanel.setBackground(bg); myPanel.setForeground(fg); myCheckBox.setSelected(myWiseSelection.isSelected(changeList.getNumber())); myPanel.add(myCheckBox, BorderLayout.WEST); myPanel.add(myRenderer, BorderLayout.CENTER); } }