PopupMenu

Palette category
AWT
Palette bean
PopupMenu
Project
Java class libraries
Package
java.awt
Type
PopupMenu

Use a PopupMenu bean to provide a pop-up list of choices for window components. The user can display the menu by clicking a pop-up mouse button on a component.

Use a JPopupMenu bean, rather than a PopupMenu bean, if you want to use it with a Swing container. Although Swing and AWT beans can be mixed, it is inadvisable.


Related procedures
Adding a Menu or Tool Bar

Related references
Menu and Tool Bar Beans
Beans for Visual Composition