Here you can find the source of getUserPreferences(final String preferenceGroup)
public static Preferences getUserPreferences(final String preferenceGroup)
//package com.java2s; //License from project: Apache License import java.util.prefs.Preferences; public class Main { public static Preferences getUserPreferences(final String preferenceGroup) { final Preferences userRoot = Preferences.userRoot(); final Preferences preferences = userRoot.node(preferenceGroup); return preferences; }/*from ww w .jav a 2 s .c o m*/ }