void (JComponent tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) { Object userObject = ((DefaultMutableTreeNode)value).getUserObject(); if (userObject instanceof CommittedChangeList changeList) { renderChangeList(tree, changeList); } else if (userObject instanceof String) { append((String)userObject, //NON-NLS See CommittedChangesTreeBrowser.buildTreeModel SimpleTextAttributes.REGULAR_BOLD_ATTRIBUTES); } }