JMenu : Java Glossary

pulldown list of
actions the user can select across the top of a JFrame.
See the essay on menus on how I think
user-configurable, globally-configurable, menus should be implemented. In
Swing you use four classes to set up a menu: JMenuBar,
JMenu, JMenuItem and
JRadioButtonMenuItem. Here is how you use them: