Method add(Component comp)
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
jtc.add(this);
2
frame.getContentPane().add(this);
3
m.add(mi);
4
add(b);
5
scrollPane1.add(centerPanel);
6
scrollPane1.add(centerPanel);
7
panel.add(comp1);
8
tree.add(rendererPane);
9
tBar.add(p);
10
tBar.add(p);
11
add (createChannelPanel());
12
cn.add(c);
13
this.add(C);
14
panel.add(b);
15
getContentPane().add(panel1);
16
jc.add(buttons[i]);
17
addTo.add(jl);
18
toolBar.add(comboBox);
19
getDialogSizePanel().add(c);
20
((Container)(getEditorPanel().getGlassPane())).add(mHandle[h]);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.