After saving some application preferences via java.util.prefs API, I cannot find them.
This is a Windows 7 machine and I searched registry for the path JavaFXApp1
and individual values I've saved such as CurrentColor
, but found nothing.
The values have been saved for certain, as the application reads them when it starts.
Where does Java preferences API store the values under Windows? This is my saving and reading code:
Preferences prf = Preferences.userRoot().node("/JavaFXApp1");
prf.putInt("CurrentColor", appCtrl.getIValue());
Preferences prf = Preferences.userRoot().node("/JavaFXApp1");
i = prf.getInt("CurrentColor", 0);