title: Where to go with my JTree now. Custom UserObjects or another way to achieve what is needed?
body: <p>I have a jTree which I populate the nodes from a toString method of List of objects. I have about 10 different kind of objects in that List.</p>
  
  <p>I'm having problems with changing the node name. Normally, when I need to reach an object of a node, I search for the <em>node.toString()</em> in the <em>List</em> to find out where is the object located in the list, so I can do <em>myList.get(i)</em>. But when I change the node name, it won't find anything in the List because it doesn't update the objects name. And I can't find a way to save the old name prior to changing node name.</p>
  
  <p>I also tried using my objects as <em>UserObject</em> of the node but when I edit the name, it converts the <em>UserObject</em> back to <em>String</em></p>
  
  <p>How should I continue?</p>