Component (@Nullable String pattern, boolean isSelected, boolean hasFocus) { JPanel component = new JPanel(new BorderLayout()); Color background = UIUtil.getListBackground(isSelected, true); component.setBackground(background); SimpleColoredComponent textComponent = new SimpleColoredComponent(); SpeedSearchUtil.appendColoredFragmentForMatcher(StringUtil.notNullize(getCommand()), textComponent, REGULAR_ATTRIBUTES, RunAnythingGroup.RUN_ANYTHING_MATCHER_BUILDER.fun(pattern).build(), background, isSelected); component.add(textComponent, BorderLayout.WEST); textComponent.appendTextPadding(20); setupIcon(textComponent, myIcon); addDescription(component, isSelected); return component; }