1

Why is Java's Preferences API putting slashes before capital letters in value names? Is there any way to get around this or disable this behavior?

enter image description here

prefs = Preferences.userRoot().node("app");
...
prefs.putInt("WindowWidth", mainFrame.getWidth());
...

Thanks

wassup
  • 2,333
  • 2
  • 21
  • 30
  • possible duplicate of [In Java, why does WindowsPreferences use slashes for capital letters?](http://stackoverflow.com/questions/23001152/in-java-why-does-windowspreferences-use-slashes-for-capital-letters) – Yazan Sep 27 '14 at 11:08
  • I'm sorry. Is there any way to prevent this from hapenning? – wassup Sep 27 '14 at 11:14
  • Have a look at it:http://stackoverflow.com/questions/62289/read-write-to-windows-registry-using-java/11854901#11854901 – SSC Sep 27 '14 at 11:17

0 Answers0