void (SimpleColoredComponent renderer, JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { renderer.setIcon(getIcon(kind)); renderer.setFont(tree.getFont()); renderer.append(NewErrorTreeRenderer.calcPrefix(NotificationMessageElement.this)); }