Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

saving portable application with static variables  RSS feed

 
Tracey Currier
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would like to save a java application so that when I open it
with JFileChooser all the variables have been saved appropriately. Unfortunately I have alot of static variables so saving an instance that represents the entire application won't work (or at least that is my understanding of object serialization). How is this done?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!