public static void setSSL(boolean newValue) { if (newValue) { Application.setSSL("true"); } else { Application.setSSL("false"); } }
public static void saveOptions() throws IOException { String comments = "Versenden von Bildern als ZIP"; FileOutputStream fos = new FileOutputStream("zsm.ini"); String oldPassword = Application.getPassword(); Application.setPassword(""); props.store(fos, comments); fos.close(); Application.setPassword(oldPassword); }