code: private void iniProject(CmsUserSettings settings) {
  
          try {
              List<CmsProject> projects = OpenCms.getOrgUnitManager().getAllAccessibleProjects(
                  m_cms,
                  m_ou.getValue(),
                  false);
              for (CmsProject project : projects) {
                  m_project.addItem(project.getSimpleName());
              }
              m_project.setNewItemsAllowed(false);
              m_project.setNullSelectionAllowed(false);
              if (settings != null) {
                  String projString = settings.getStartProject();
                  if (projString.contains("/")) {
                      projString = projString.split("/")[projString.split("/").length - 1];
                  }
                  m_project.select(projString);
              } else {
  
                  Iterator<?> it = m_project.getItemIds().iterator();
                  if (m_project.containsId("Offline")) {
                      m_project.select("Offline");
                  } else {
                      String p = (String)it.next();
                      while (p.equals(CmsProject.ONLINE_PROJECT_NAME) & it.hasNext()) {
                          p = (String)it.next();
                      }
                      m_project.select(p);
                  }
              }
          } catch (CmsException e) {
              LOG.error("Unable to read projects", e);
          }
      }
docs: Initializes the project combo box.<p>
  
  @param settings of user