synchProject(project); setView("EditProjectPanel");
if (project != null) { synchProject(project); setView("EditProjectPanel"); } else setView("EmptyPanel");
    private void setProject(Project project) {        currentProject = project;        synchProject(project);        setView("EditProjectPanel");    }