I am King here. I am new to Java Swing programming.
I got new task in my company. Here, i need to generate a dynamic XML file from Editable JTree.
I have successfully coded for editable JTree. In this tree we can add and delete new nodes. Means, the number of elements will vary from user to user. User will create their own customized tree according to their requirements.
I tried XStream also. It is working for normal class Objects only. Not for JTree object. It is generating XML also. But, not according to Tree structure, according to the JTree classes hierarchy.
If they click on GenerateXML, we need to generate an XML file according to the tree structure. I am new to swing programming. So, can any one help me for this please............
I have edited out your post in the other thread. Please do not hijack other people's threads. More details here In future while posting code, please code tags More tips on getting the most of the Ranch can be found here