Component (@Nullable String pattern, boolean isSelected, boolean hasFocus) { JPanel component = (JPanel)super.createComponent(pattern, isSelected, hasFocus); SimpleColoredComponent simpleColoredComponent = new SimpleColoredComponent(); parseAndApplyStyleToParameters(simpleColoredComponent, myPlaceholder); appendDescription(simpleColoredComponent, myDescription, UIUtil.getListForeground(isSelected, true)); setupIcon(simpleColoredComponent, myIcon); component.add(simpleColoredComponent, BorderLayout.WEST); return component; }