if (this.menuCommands == null) { this.menuCommands = new ArrayList( 6, 50 );  this.menuContainer = new Container( true ); }
	public synchronized void addCommand(Command cmd) {		//#style menuitem, menu, default		StringItem menuItem = new StringItem( null, cmd.getLabel(), Item.HYPERLINK );		this.menuContainer.add( menuItem );		if (this.menuContainer.size() == 1) {			this.menuSingleCommand = cmd;		} else {			this.menuSingleCommand = null;		}		this.menuCommands.add( cmd );		if (isShown()) {			repaint();		}	}