String () { boolean highlighted = getComponentCount() > 0 && !BACKGROUND.equals(getComponent(0).getBackground()); String text = Stream.of(getComponents()).map(Object::toString).collect(Collectors.joining()); return highlighted ? '[' + text + ']' : text; }