protected final Preferences getPreferences(boolean allowGrouped) {
        if (allowGrouped) {
            Group act = Group.getActiveGroup();
            if (act != null) {
                //TODO replace with NbPreferences.forModule()
                return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
            }   
        }
        return NbPreferences.forModule(OpenProjectListSettings.class);
    }
protected final Preferences getPreferences(boolean allowGrouped) {
        if (allowGrouped) {
            Group act = Group.getActiveGroup();
            if (act != null) {
               
                return act.prefs().node(OpenProjectListSettings.class.getPackage().getName().replace(".", "/"));
            }   
        }
        return NbPreferences.forModule(OpenProjectListSettings.class);
    }
protected final preferences getpreferences(boolean allowgrouped) { if (allowgrouped) { group act = group.getactivegroup(); if (act != null) { return act.prefs().node(openprojectlistsettings.class.getpackage().getname().replace(".", "/")); } } return nbpreferences.formodule(openprojectlistsettings.class); }