Method add(String title, Component component)
Return type:
java.awt.Component
Member of:
javax.swing.JTabbedPane
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
tabbedPane.add("Fields", createFieldsErrorPanel());
2
uiPanel.add("Load Options", (JComponent) read_ui);
3
ctrl.add( "Database", buildDBPanel() );
4
tb.add("Plot", plot);
5
tabPane.add("Values", mainPane);
6
tabbedPane.add("Opportunity", oppPanel);
7
add("Delete Document", panel);
8
tblResults.add(title, panel);
9
tabs.add(item.getGroupName(), new JScrollPane(item));
10
tabbedPane.add("Properties", propertyBuilder);
11
tPanel.add(tabName, p);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.