I am using the DocumentTreeModel to create a JTree and then I want to do
a little modification, including removing some nodes.  Here's the
problem, the only way to remove a node within the context of my program
is to use DefaultTreeModel.removeNodeFromParent(MutableTreeNode t)

but, of course, I have LeafTreeNodes and BranchTreeNodes, which cannot
be cast as MutableTreeNodes.  Has anyone found a way around this?

Thanks,
Amy Hawthorne



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to