private static FilePreference createPref() {
String[] path = new String[] { "General" };
String key = "ApplicationDirectory";
PreferenceFactory f = ApplicationConfiguration.getPreferenceFactory();
return f.newFilePreference(path, key, null);
}
private ApplicationDirectoryLocationPreference() {/**/}
}