posted 23 years ago
I believe that JTree uses the toString() method of its nodes' userObject to display. So if you wanted to display different text, subclass File (your user object in this case) and override its toString() method to only return the characters after the last file delimiter.
Let me know how that works!
e
[This message has been edited by eric moon (edited January 17, 2001).]
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>"Those who cast the votes decide nothing. Those who count the<BR>votes decide<BR>everything." <BR> -Joseph Stalin<HR></BLOCKQUOTE>