Just had a quick look at the documentation. I would say, you don't have to recursively iterate the tree because JDOM has a method (getDescendants) that does that for you. And you could pass it a Filter -- most likely an ElementFilter -- that would just choose the Element(s) you were looking for.
Joined: Jul 31, 2003
Thanks for the response ,
can I get JTree Element directly by providing TreePath object to the JTREE ? say the tree is :
and i want to get the JTree element at : ["Cars" , "Volvo" , "s80" , "16v 2500"] ? Thank you