public static void saveSettings(){
        //Check if the settings folder exist, if not create it
        File settingsFolder = new File("settings");
        if(!settingsFolder.exists()){
            settingsFolder.mkdir();
        }
        
        //create and fill the ini file
        File iniFile = new File("settings", "settings." + getExtension("settings file"));
        try {
            iniFile.createNewFile();
            Properties prop = new Properties();
            
            //Memorize last opened project
            if(ProjectMgr.getProjectPath() == null){
                prop.setProperty("last project path", "");
            }
            else{
                prop.setProperty("last project path", ProjectMgr.getProjectPath());
            }
           
            prop.store(new FileOutputStream(iniFile), AppMgr.getNameVersion() + " main settings");
       }
       catch(IOException ioe) {
            System.out.println(ioe.getMessage());
       }
    }