Changing the display names of objects in the JTree

Hi All;

Is there a possibility of changing the display name of the nodes in JTree? I mean not the actual name of the JTree object, but only the display name? Is there any method available for that?

Your help would be greatly appreciated

Thanks in advance

Regards Madumm

[301 byte] By [madumma] at [2007-11-27 7:57:37]
# 1
If your tree node object has application-specific complexity, you should define a custom tree node class and a renderer for that. Or if you just could use DefaultMutableTreeNode, call setUserObject() method with a new String.
hiwaa at 2007-7-12 19:39:29 > top of Java-index,Java Essentials,New To Java...