dir += File.separator + "properties.xml";
dir += File.separator + "ajgui.properties";
    public static String getPropertiesPath(){        if (System.getProperty("os.name").toLowerCase().indexOf("windows")==-1){            String dir = System.getProperty("user.home") + File.separator +                "appleJuice";            File directory = new File(dir);            if (!directory.isDirectory()){                directory.mkdir();            }            dir += File.separator + "gui";            directory = new File(dir);            if (!directory.isDirectory()) {                directory.mkdir();            }            dir += File.separator + "properties.xml";            return dir;        }        else{            return System.getProperty("user.dir") + File.separator +                "properties.xml";        }    }