JCheckBox (final Object value, final boolean isSelected, final int row, final JTable table, boolean hasFocus) { setForeground(RenderingUtil.getForeground(table, isSelected)); setBackground(RenderingUtil.getBackground(table, isSelected)); if (value == null) { setState(State.DONT_CARE); } else { setSelected((Boolean) value); } return this; }