boolean hasFocus) {
Component result = super.getTreeCellRendererComponent(tree, value,
selected, expanded, leaf, row, hasFocus);
if (result instanceof JLabel && value instanceof NodeField) {
JLabel l = (JLabel) result;
final NodeField n = (NodeField) value;
l.setIcon(n.getIcon());
}
return result;
}