At the moment I don't believe there is any easy way to do that other than subclassing TreeNodeBase and storing the parent in it when you generate the model. This is the way we do it. That way you have access to the parent node from the selected node....

a+
Emmanuel

On 11/25/05, rahmoune patrick <[EMAIL PROTECTED]> wrote:
Hi All,
 
I can dynamically add a node on tree2 on the selected node (TreeNode)
using the selectedNode.getChildren().add(...) method
 
but I don't know how to remove a selected node properly.
 
The first idea was to look for a getParent() method on treeNode but there is not.
 
I hope there is another way to do this
 
Any tips are welcome ?
 
patrick
 


Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
Téléchargez le ici !


Reply via email to