}
public Component getTreeCellRendererComponent(JTree tree, Object value, boolean selected, boolean expanded, boolean leaf, int row, boolean hasFocus) {
JLabel label = (JLabel) super.getTreeCellRendererComponent(tree, value, selected, expanded, leaf, row, hasFocus);
if(value instanceof CategoryTreeNode) {
CategoryTreeNode categoryTreeNode = (CategoryTreeNode) value;
String name = categoryTreeNode.getName();
if (name == null)
name = RouteConverter.getBundle().getString("no-name");
else if(categoryTreeNode.isRemoteRoot())
name = RouteConverter.getBundle().getString("remote-catalog");
label.setText(name);
} else
label.setText(RouteConverter.getBundle().getString("loading"));