Hi,
I would like to have a way to display the contents of an XML file in a JTree
. I have already accomplished this using DOM, by implementing a custom TreeModel
(and TreeCellRenderer
). However it is very clunky (much workaround-ery and hackery) and rather rough around the edges.
Is anyone aware of a way to get a JTree
to display the contents of an XML file, parsed with SAX?
Thanks!