Method add(Component comp, int index)
Return type:
java.awt.Component
Member of:
java.awt.Container
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
add(pu.toJMenu(), 1);
2
getParent().add(childMenu,0);
3
tlbToolBar.add(btnPlus, 0);
4
jSplitPane1.add(tempScrollPane, 1);
5
toolbar.add(btnDataStd, 2);
6
jSplitPane1.add(tableScrollPane, 1);
7
videoPanel.add(player[index], 0);
8
add(comp, 0);
9
viewMenu = (JMenu)menuBar.add(new JMenu("View"), 1);
10
add(jlabel, i);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.