Menu.remove

Menu.remove

Class Overview | Class Members | This Package | All Packages

Syntax 1
public synchronized void remove( int index )
Parameters
index
the position of the item to be removed.
Description
Removes the menu item at the specified index from this menu.



Syntax 2
public synchronized void remove( MenuComponent item )
Parameters
item
the item to be removed from the menu
Description
Removes the specified menu item from this menu.