1. Tree Serialization How to??? coderanch.com |
2. Serialization of a JTree coderanch.comHi all! I'm using an application where a JTree is dynamically built at runtime. I need to add a function to save a "snapshot" of the jtree. I think that serialization could be a valid option. So I serialized the root DefaultMutableTreeNode and de-serialized it. Unfortunately it doesn't work as I expected. The jtree I re-build is incorrect (node names are ... |
3. JTree Object Serialization. coderanch.comPlease any one help me with sample code to persist the JTree object. i need to use it in remote client to generate the Tree structure. i know tat serialization is not supported for javx.swing so tat i used XMLEncoder and Decoder to save the Tree object. when in deserialization the object is not loaded. so please guys help me with ... |