T
Tim
Hi
I extended the defaultrTreeModel and used my own objects as nodes in
the tree -
the problem I have now that I want to retrofit my tree with dynamic
addition of nodes is that is that when I call
myTreePath.getLastPathComponent() I get my own object back and not a
reference to a node (which I want so I can add a node to it)
i cant find a way of getting the node from a treepath !!
Please help !!
Tim
I extended the defaultrTreeModel and used my own objects as nodes in
the tree -
the problem I have now that I want to retrofit my tree with dynamic
addition of nodes is that is that when I call
myTreePath.getLastPathComponent() I get my own object back and not a
reference to a node (which I want so I can add a node to it)
i cant find a way of getting the node from a treepath !!
Please help !!
Tim