Method add(Component comp, Object constraints)
Return type: void
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
dialog.getContentPane().add(this, BorderLayout.CENTER);
2
displayer.add(curC, "");
3
displayer.add(curC, "");
4
((JFrame)c).getContentPane().add(this, BorderLayout.NORTH);
5
pathBox.add(saveButtonPanel, "South");
6
((JFrame)c).getContentPane().add(this, BorderLayout.SOUTH);
7
add(checkbox,"West");
8
panel.add( createMainPanel(), "Center" );
9
getContentPane().add(new PostArticles(), "Center");
10
message.add(c, gbc);
11
this.add(component, BorderLayout.EAST);
12
this.getContentPane().add(scrollPane1, BorderLayout.CENTER);
13
this.add(label, BorderLayout.SOUTH);
14
getContentPane().add(_menubar, BorderLayout.NORTH);
15
add(toolBar, BorderLayout.NORTH);
16
subPanel.add(button, c);
17
c.add(
18
this.getContentPane().add(BuildControlPanel(), BorderLayout.NORTH);
19
m_frame.getContentPane().add(component, BorderLayout.CENTER);
20
target.add(l, l.getDisplayLevel());
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.