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.
Adding a menu or tool bar
Sun's JPopupMenu bean documentation
Menu and tool bar beans
Beans for visual composition