I want to read data from xml,and display it in a Jtree.
I read the xml data and stored it in document,and i wrote a class
that read the nodes from the document,then to the JTree i passed
this class,but the requirement is i should read each element from the xml
and display in a treestructure.
If u could give me some sites that has samples like the requirement,it will
be great help.
** i refered the sun site which has got some samples of displaying a simple
Tree,but here he is using DOM,and passing
the object to JTree.