[Ijtree-devel] problem with createFromXml
Brought to you by:
bentcd
|
From: Peter C. <sp...@ho...> - 2002-08-19 20:38:05
|
When i try to create the JTree from an xml file i only get the standard =
tree.
with colors , fruit ....
I have also tried to use a DefaultMutableTreeNode into the new JTree =
constructor.
=20
FileInputStream is =3D new FileInputStream("d:/Untitled1.xml");
JTree tree =3D new JTree();
Instrumenter instrument =3D Instrumenter.createInstrument(tree,true);
instrument.createFromXml(is);
Thanks in advance=20
Peter
|