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 Java in General and the fly likes Idea about application preferences. 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 » Java in General
Bookmark "Idea about application preferences." Watch "Idea about application preferences." New topic

Idea about application preferences.

Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

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?

GenRocket - Experts at Building Test Data
Robert Paris
Ranch Hand

Joined: Jul 28, 2002
Posts: 585
I agree. Here's the link:
subject: Idea about application preferences.
It's not a secret anymore!