MenuBar.remove

MenuBar.remove

Class Overview | Class Members | This Package | All Packages

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

See Also
add



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

See Also
add