Answer the question
In order to leave comments, you need to log in
What is the correct way to store settings in a Java program?
More precisely, how to properly store settings in a desktop application without using the Preferences class. It is not possible to use it, because it stores settings in the registry, and on some computers the registry may not be available.
Answer the question
In order to leave comments, you need to log in
Alternatively, store the settings in an xml file, and load them into RAM when the application starts
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question