i was build an jtree from an xml,now for each node there are child elements and the child elements consists of static and dynamic fields,when i select a node in the jtree the child elements should be displayed in jtable format (and one more thing is that my tree consists of 1 supernode and it consists of 4 subnodes and each subnode consists of 3 child nodes).can anyone suggest or give a code to display jtable from jtree. and i should able to edit the values and save to jtree as well as jtable.
Thanks & regards Murali
posted 9 years ago
It sounds as if the you could have a second panel in that layout (maybe to the right of the JTree) that shows the JTable. Have you used JTable before? If not, work though the relevant section of the Sun Java Tutorial first.
Paper has not yet been outlawed – so let your Java Swing application print with wild abandon: JPDF