[jdom-interest] JDOM <-> JTree Adapter

Johannes Lichtenberger jl at nabooisland.com
Sun Sep 17 11:59:53 PDT 2006


Hello,

has someone written a class which extends the DefaultTreeModel or
implements a TreeModel? I want to read an XML-file, display it in a
JTree and want to make changes with the JDOM as the underlying tree
model (so I don't have to update two data structures everytime).

It should be a simple XML-Editor and when I insert/delete/rename a node
it should update the JDOM tree.

greetings,
Johannes


More information about the jdom-interest mailing list