MenuPeer is an interface that defines the basis for menus.
public abstract interface java.awt.peer.MenuPeer extends java.awt.peer.MenuItemPeer { // Interface Methods public abstract void addItem (MenuItem item); public abstract void addSeparator(); public abstract void delItem (int index); }
MenuItem to add to the menu's peer
Adds a menu item to the menu's peer.
Adds a menu separator to the menu's peer.
MenuItem position to delete from the menu's peer.
Deletes a menu item from the menu's peer.
MenuItem, MenuItemPeer