Component (JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int column) { if (value instanceof Boolean) { myLabel.setForeground(isSelected ? UIUtil.getTableSelectionForeground() : myLabelColor); myLabel.setBackground(UIUtil.getTableBackground(isSelected)); myLabel.setText((Boolean)value ? "" : "* "); myLabel.setHorizontalAlignment(SwingConstants.RIGHT); return myLabel; } return super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column); }