Properties props = new Properties();
        props.setProperty("msgbox", "true");
        OutputStream out;
        try {
            out = new FileOutputStream(this.getClass().getResource("xxxxx.ini").getFile());
            props.store(out, "");
        } catch (FileNotFoundException e) {
            // ignore
        } catch (IOException e) {
            // ignore
        }