insertTab(String, Icon, Component, String, int)
- Method in class javax.swing.JTabbedPane public void insertTab (String title, Icon icon, Component component, String tip, int index) Inserts a component, at index, represented by a title and/or icon, either of which may be null. Uses java.util.Vector internally, see insertElementAt() for details of insertion conventions.Parameters: title - the title to be displayed in this tab - the icon to be displayed in this tabicon - the icon to be displayed in this tab - The component to be displayed when this tab is clicked.component - The component to be displayed when this tab is clicked. - the tooltip to be displayed for this tabtip - the tooltip to be displayed for this tab - the position to insert this new tabindex - the position to insert this new tabSee Also: addTab(java.lang.String, javax.swing.Icon, java.awt.Component, java.lang.String) , removeTabAt(int) | ||||
Search Dictionary:
