I am currently working on a project in which many options should be saved.
You can use the Preferences API for this if it is user specific configuration that should be stored and maintained.
Applications require preference and configuration data to adapt to the needs of different users and environments. The java.util.prefs package provides a way for applications to store and retrieve user and system preference and configuration data. The data is stored persistently in an implementation-dependent backing store. There are two separate trees of preference nodes, one for user preferences and one for system preferences.