JComponent (final RadRootContainer rootContainer, final Boolean value, final boolean selected, final boolean hasFocus) { // Background and foreground if(selected){ setForeground(UIUtil.getTableSelectionForeground()); setBackground(UIUtil.getTableSelectionBackground(true)); }else{ setForeground(UIUtil.getTableForeground()); setBackground(UIUtil.getTableBackground()); } setSelected(value != null && value.booleanValue()); return this; }