8290278: JavaDoc of index parameter of method JTabbedPane.insertTab

Reviewed-by: psadhukhan, prr, honkar
This commit is contained in:
Tejesh R 2022-08-09 11:53:41 +00:00 committed by Prasanta Sadhukhan
parent 2712bc3f79
commit cbc9040f3a

@ -722,10 +722,10 @@ public class JTabbedPane extends JComponent
* @param component the component to be displayed when this tab is clicked.
* @param tip the tooltip to be displayed for this tab
* @param index the position to insert this new tab
* ({@code > 0 and <= getTabCount()})
* {@code (index >= 0 && index <= getTabCount())}
*
* @throws IndexOutOfBoundsException if the index is out of range
* ({@code < 0 or > getTabCount()})
* {@code (index < 0 || index > getTabCount())}
*
* @see #addTab
* @see #removeTabAt