Method addTab(String title, Icon icon, 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
tabPane.addTab("General", ReloadUIManager.getIcon(ReloadUIManager.ICON_APP16), _generalPrefsPanel);
2
tabbedPane.addTab(" Info ", ImageManager.getInstance().getImage("images/tab.png"), infoPanel);
3
mTabbedPane.addTab("Database", new ImageIcon("images/savedb.gif"), mDatabasePanel);
4
jtpWarnings.addTab(txt, ico, cmp);
5
_tabs.addTab(title, _leftArrowIcon, t);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.