void (SimpleColoredComponent renderer, JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { renderer.setIcon(AllIcons.General.Information); renderer.append(IdeBundle.message("fixed.problem.prefix"), SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); renderer.append(" ", SimpleTextAttributes.REGULAR_ATTRIBUTES); final String[] text = getText(); final String checkedText = ((text != null) && (text.length > 0)) ? text[0] : ""; renderer.append(checkedText, SimpleTextAttributes.REGULAR_ATTRIBUTES); }