Re: Problem with serialization and deserialization

2014-06-05 Thread Stefan van Wouw
Dear Aneesh, Your particular use case of using Swing GUI components with Spark is a bit unclear to me. Assuming that you want Spark to operate on a tree object, you could use an implementation of the TreeModel ( http://docs.oracle.com/javase/8/docs/api/javax/swing/tree/DefaultTreeModel.html

Problem with serialization and deserialization

2014-06-05 Thread ANEESH .V.V
hi, I have a JTree. I want to serialize it using sc.saveAsObjectFile("path"). I could save it in some location. The real problem is that when I deserialize it back using sc.objectFile(), I am not getting the jtree. Can anyone please help me on this.. Thanks