Method addTab(String title, Component component)
Return type: void
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.addTab("State", new StatesTab().build());
2 this.addTab("Controls", createControlsPanel());
3 logview.addTab("Events ...",new JScrollPane(tpa.getTextPane()));
4 mainTabs.addTab("File",filechooser);
5 result.addTab("Dependencies", BuildDependenciesPanel());
6 mainPanel.addTab("Context", createContextEditingView());
7 tabbedPane.addTab("External Destination", refPanel);
8 this.tab.addTab("Task Editor",taskPanel);
9 tabPane.addTab("Roster Entry", makeInfoPane(r));
10 tabs.addTab("Properties", (JPanel)curPanel);
11 tabbed.addTab("Abstract Syntax Tree / XPath", resultsSplitPane);
12 _tabs.addTab("Perspectives", persTab);
13 tabbedPane.addTab("Activities", activPanel);
14 tabbed.addTab ("Script", commandBox);
15 mainTabs.addTab ("Clipboard", clipboardPanel);
16 super.addTab(tabLabel, tempScrollPane);
17 tabPane.addTab(name,component);
18 TabbedPane.addTab("Fonts", FontTab);
19 rightTabPane.addTab(title,component);
20 tabber.addTab((rs[i].qid!=null?rs[i].qid.toString():"Unknown"),
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.