879 |
* This method inserts tabs into JTabbedPane. This includes adding the |
* This method inserts tabs into JTabbedPane. This includes adding the |
880 |
* component to the JTabbedPane and hiding it. |
* component to the JTabbedPane and hiding it. |
881 |
* |
* |
882 |
* @param title The title of the tab. |
* @param title the title of the tab; may be <code>null</code> |
883 |
* @param icon The tab's icon. |
* @param icon the tab's icon; may be <code>null</code> |
884 |
* @param component The component associated with the tab. |
* @param component the component associated with the tab |
885 |
* @param tip The tooltip for the tab. |
* @param tip the tooltip for the tab |
886 |
* @param index The index to insert the tab at. |
* @param index the index to insert the tab at |
887 |
*/ |
*/ |
888 |
public void insertTab(String title, Icon icon, Component component, |
public void insertTab(String title, Icon icon, Component component, |
889 |
String tip, int index) |
String tip, int index) |
911 |
/** |
/** |
912 |
* This method adds a tab to the JTabbedPane. |
* This method adds a tab to the JTabbedPane. |
913 |
* |
* |
914 |
* @param title The title of the tab. |
* @param title the title of the tab; may be <code>null</code> |
915 |
* @param icon The icon for the tab. |
* @param icon the icon for the tab; may be <code>null</code> |
916 |
* @param component The associated component. |
* @param component the associated component |
917 |
* @param tip The associated tooltip. |
* @param tip the associated tooltip |
918 |
*/ |
*/ |
919 |
public void addTab(String title, Icon icon, Component component, String tip) |
public void addTab(String title, Icon icon, Component component, String tip) |
920 |
{ |
{ |
924 |
/** |
/** |
925 |
* This method adds a tab to the JTabbedPane. |
* This method adds a tab to the JTabbedPane. |
926 |
* |
* |
927 |
* @param title The title of the tab. |
* @param title the title of the tab; may be <code>null</code> |
928 |
* @param icon The icon for the tab. |
* @param icon the icon for the tab; may be <code>null</code> |
929 |
* @param component The associated component. |
* @param component the associated component |
930 |
*/ |
*/ |
931 |
public void addTab(String title, Icon icon, Component component) |
public void addTab(String title, Icon icon, Component component) |
932 |
{ |
{ |
936 |
/** |
/** |
937 |
* This method adds a tab to the JTabbedPane. |
* This method adds a tab to the JTabbedPane. |
938 |
* |
* |
939 |
* @param title The title of the tab. |
* @param title the title of the tab; may be <code>null</code> |
940 |
* @param component The associated component. |
* @param component the associated component |
941 |
*/ |
*/ |
942 |
public void addTab(String title, Component component) |
public void addTab(String title, Component component) |
943 |
{ |
{ |
968 |
* instance of UIResource, it doesn't add the tab and instead add the |
* instance of UIResource, it doesn't add the tab and instead add the |
969 |
* component directly to the JTabbedPane. |
* component directly to the JTabbedPane. |
970 |
* |
* |
971 |
* @param title The title of the tab. |
* @param title the title of the tab; may be <code>null</code> |
972 |
* @param component The associated component. |
* @param component the associated component |
973 |
* |
* |
974 |
* @return The Component that was added. |
* @return The Component that was added. |
975 |
*/ |
*/ |