This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serialize and deserialize an object " Watch "Serialize and deserialize an object " New topic

Serialize and deserialize an object

pamela jones

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.
I agree. Here's the link:
subject: Serialize and deserialize an object
It's not a secret anymore!