Skip to content

Commit

Permalink
8290278: JavaDoc of index parameter of method JTabbedPane.insertTab
Browse files Browse the repository at this point in the history
Reviewed-by: psadhukhan, prr, honkar
  • Loading branch information
Tejesh R authored and prsadhuk committed Aug 9, 2022
1 parent 2712bc3 commit cbc9040
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.desktop/share/classes/javax/swing/JTabbedPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -722,10 +722,10 @@ public void setSelectedComponent(Component c) {
* @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
Expand Down

1 comment on commit cbc9040

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.