Method insert(JMenuItem mi, int pos)
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
editMenu.insert(edit_add, 0);
2
_help.insert(module.getMenuItem(context), 0);
3
menu.insert(newMenu, pos);
4
mRecent.insert(item, iRecent);
5
relationshipsMenu.insert(menuItem, i);
6
menu.insert(mi, index + currentURI);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.