code: public void setItems(Map<String, String> items) {
  
          clearItems();
          m_items = items;
          for (Map.Entry<String, String> entry : items.entrySet()) {
              addOption(entry.getKey(), entry.getValue());
          }
      }
docs: Sets the items using a map from option values to label texts.<p>
  
  @param items the map containing the select options