Use a JPopupMenu 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. You can also add subclasses of AbstractAction to the free-form surface and add them to the menu in the menu get method.
Use a PopupMenu bean, rather than a JPopupMenu bean, if you want to use it with an AWT container. Although Swing and AWT beans can be mixed, it is inadvisable.
Adding a Menu or Tool Bar
Menu and Tool Bar Beans
Beans for Visual Composition