private Settings defaultSettings() { String path; // Windows path = System.getenv("HOMEPATH"); // Unix if (path == null) { path = System.getProperty("user.home"); } Settings defaultSettings = new Settings(12, path, 3, "", 20000); defaultSettings.saveSettings(); return defaultSettings; }
public void saveSettings() { settings.saveSettings(); }