Constructor JMenuItem(Action a)
Member of: javax.swing.JMenuItem
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 menuItem = new JMenuItem(new AboutAction(this.getContentPane()));
2 JMenuItem defaultMenu = new JMenuItem( changeAddress);
3 JMenuItem helpItem = new JMenuItem( helpAction);
4 jmenu.add(new JMenuItem(new MenuAction_DebugSchema(ReloadDocumentHandler.IMSMD_122, "IMS Metadata 1.2.1 Schema")));
5 popup.add(new JMenuItem(
6 fileMenu.add(new JMenuItem(closeAction));
7 RowColDeleteAction = new JMenuItem(manager.getAction(iSQLActionConstants.CMD_ROWDELE_ACTION));
8 JMenuItem item = new JMenuItem(defaultSizeAction);
9 JMenuItem item = new JMenuItem ( new TclInterpreterAction ( name, script, frame_ ) );
10 m_menu = new JMenuItem(this);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.