• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Idea about application preferences.

Ranch Hand
Posts: 15304
Mac OS X IntelliJ IDE Chrome
  • 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?
Ranch Hand
Posts: 585
LOOK! OVER THERE! (yoink) your tiny ad is now my tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!