class SwingMenuList extends AbstractSwingContainer implements XulMenuList<T> {

  public void setSelectedItem( T t ) {
    SwingMenupopup popup = getPopupElement();
    for ( XulComponent item : popup.getChildNodes() ) {
      SwingMenuitem tempItem = (SwingMenuitem) item;
      if ( tempItem.getLabel().equals( extractLabel( t ) ) ) {
        this.combobox.setSelectedItem( tempItem );
      }
    }
  }

  public  SwingMenuList( Element self, XulComponent parent, XulDomContainer domContainer, String tagName );

}