private static void checkProjectValid(){
        List<ProjectError> errors = new ArrayList<ProjectError>();
        File file;
        
        for(String path : allPath){
            file = new File(path);
            if(!file.exists()){
                errors.add(new ProjectError(ProjectError.FOLDER_MISSING, path));
            }
        }
        /*
        String errorMessage = "";
        
        if(!(new File(projectPath).exists())){
            errorMessage = "This project is invalid.\nCan't find project folder (" + projectPath + ")";
        }
        else if(!(new File(assetsPath).exists())){
            errorMessage = "This project is invalid.\nCan't find assets folder (" + assetsPath + ")";
        }
        else if(!(new File(dataGamePath).exists())){
            errorMessage = "This project is invalid.\nCan't find assets folder (" + dataGamePath + ")";
        }
        else if(!(new File(dataEditorPath).exists())){
            errorMessage = "This project is invalid.\nCan't find assets folder (" + dataEditorPath + ")";
        }
        //else if(!(new File(settingsPath).exists())){
        //    errorMessage = "This project is invalid.\nCan't find settings folder (" + settingsPath + ")";
        //}
        */
        
        if(errors.size() == 0){ //Valid project

        }
        else{ //Invalid project
            closeProject();
            WidgetMgr.MAIN_WINDOW.setVisible(true);
            JOptionPane.showMessageDialog(WidgetMgr.MAIN_WINDOW, "Can't find folder (" + errors.get(0).path + ")", "Invalid project", JOptionPane.ERROR_MESSAGE);
            //JOptionPane.showMessageDialog(WidgetMgr.MAIN_WINDOW, errorMessage, "Invalid project", JOptionPane.ERROR_MESSAGE);
            
        }
    }