Hi
there's a class may help you:
java.util.prefs.Preferences
In windows it manipulates registry,other OSs I don't know.
Maybe the easiest way is to set a static attribute.
Add one
word and you've some properties accessibe all around your code while you import the class.
The trade off is however design issues.
Ofcourse you've some other strange ideas!