JMenuItem

Palette category
Swing
Palette bean
JMenuItem
Project
JFC class libraries
Package
com.sun.java.swing
Type
JMenuItem

Use a JMenuItem bean to provide a functional choice for a menu.

Use a MenuItem bean, rather than a JMenuItem bean, if you want to use it in an AWT menu. 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