Here you can find the source of save()
private static void save()
//package com.java2s; //License from project: Open Source License import java.io.FileWriter; import java.io.IOException; import java.util.Properties; public class Main { public static final String SETTINGS_FILEPATH = ".phoenix_settings"; private static Properties properties = null; /**/* w w w. ja v a 2 s. co m*/ * Internal method to persist all the settings to the file */ private static void save() { if (properties != null) { try { properties.store(new FileWriter(SETTINGS_FILEPATH), ""); } catch (IOException e) { e.printStackTrace(); } } } }