Adds a menu item to the end of this menu.
public void add( MenuItem item )
item
A MenuItem object that specifies the item to add.
A menu item can be inserted into one menu at a time, and the same menu item may not be added more than once to the same menu.
See Also clear