Java Platform 1.2

Uses of Class

Packages that use MenuComponent
java.awt Contains all of the classes for creating user interfaces and for painting graphics and images. 

Uses of MenuComponent in java.awt

Subclasses of MenuComponent in java.awt
 class CheckboxMenuItem
          This class represents a check box that can be included in a menu.
 class Menu
          A Menu object is a pull-down menu component that is deployed from a menu bar.
 class MenuBar
          The MenuBar class encapsulates the platform's concept of a menu bar bound to a frame.
 class MenuItem
          All items in a menu must belong to the class MenuItem, or one of its subclasses.
 class PopupMenu
          A class that implements a menu which can be dynamically popped up at a specified position within a component. As the inheritance hierarchy implies, a PopupMenu can be used anywhere a Menu can be used.

Methods in java.awt with parameters of type MenuComponent
 void Component.remove(MenuComponent popup)
          Removes the specified popup menu from the component.
 void MenuBar.remove(MenuComponent m)
          Removes the specified menu component from this menu bar.
 void Frame.remove(MenuComponent m)
          Removes the specified menu bar from this frame.
 void MenuContainer.remove(MenuComponent comp)
 void Menu.remove(MenuComponent item)
          Removes the specified menu item from this menu.

Java Platform 1.2

Submit a bug or feature Version 1.2 of Java Platform API Specification
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.