aspose file tools
The moose likes Beginning Java and the fly likes Serialize and deserialize an object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialize and deserialize an object " Watch "Serialize and deserialize an object " New topic
Author

Serialize and deserialize an object

pamela jones
Greenhorn

Joined: Apr 26, 2003
Posts: 5
How do I serialize an object to a file on my disk and then deserialize to recover the input entered into the JPanel earlier? I am having some difficulty with this. Thank you.
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Hi, Pamela. Did the previous responses to your question not help?
You can also read about serialization here.


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Serialize and deserialize an object