void () { boolean isDefaultProject = myProject == ProjectManager.getInstance().getDefaultProject(); mySidePanel = new SidePanel(this); mySidePanel.addSeparator(JavaUiBundle.message("project.settings.title")); addProjectConfig(); if (!isDefaultProject) { addModulesConfig(); } addProjectLibrariesConfig(); if (!isDefaultProject) { addFacetsConfig(); addArtifactsConfig(); } mySidePanel.addSeparator(JavaUiBundle.message("project.structure.platform.title")); addJdkListConfig(); addGlobalLibrariesConfig(); mySidePanel.addSeparator("--"); addErrorPane(); mySidePanel.getList().getAccessibleContext().setAccessibleName(UIBundle.message("project.structure.categories.accessible.name")); }