Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Serialize and deserialize an object  RSS feed

 
pamela jones
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Pamela. Did the previous responses to your question not help?
You can also read about serialization here.
 
If I had asked people what they wanted, they would have said faster horses - Ford. Tiny ad:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!