JLabel (final RadRootContainer rootContainer, final V value, final boolean selected, final boolean hasFocus) { // Reset text and icon setText(null); setIcon(null); // Background and foreground if(selected){ setForeground(UIUtil.getTableSelectionForeground()); setBackground(UIUtil.getTableSelectionBackground(true)); }else{ setForeground(UIUtil.getTableForeground()); setBackground(UIUtil.getTableBackground()); } if (value != null) { customize(value); } return this; }