This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Idea about application preferences.  RSS feed

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I had an idea on a way to store user preferences that I am sure has been done before. So I am looking for comments from people that have tried it or what you might think of the idea; problems, alternatives, etc.
My idea is to use a class file to store all the preferences for an application/user and have getter and setter methods for accessing and writing these preferences. Then use the ObjectOutput/InputStreams to save the class file in it's current state and reload it when nessecary.
Any comments?
 
Robert Paris
Ranch Hand
Posts: 585
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!