I have a DOM in-memory tree of an xml file, and now I want to create a JTree from this data. Problem is that I need to use a recursive method to keep the right parent-child relationships in the JTree, but my logic seems flawed.
Does anyone have an example of such a method?
posted 8 years ago
Never mind, I found a very useful class for just this purpose: org.w3c.dom.traversal.TreeWalker