Method add(String s)
Return type:
javax.swing.JMenuItem
Member of:
javax.swing.JMenu
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
menuLogin = menu.add( "menu.item.login" );
2
JMenuItem bugMenu = menu.add( "menu.item.bugreport" );
3
menuAddFriend = menu.add( "menu.item.adduser" );
4
JMenuItem menuFRView = menuBuddy.add( "menu.item.friendview.fn" );
5
JMenuItem item = menu.add( codes[i] );
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.