RFR: 8290278: JavaDoc of index parameter of method JTabbedPane.insertTab [v3]

Phil Race prr at openjdk.org
Thu Jul 28 20:57:34 UTC 2022


On Thu, 28 Jul 2022 06:51:47 GMT, Tejesh R <tr at openjdk.org> wrote:

>> JavaDoc of _JTabbedPane.inseetTab()_ is updated. The index position to insert a new tab ranges from 0 to _TabCount_(Position after the last tab position), the same is updated from _> 0_ to _>= 0_ .
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Updated based on review comments

src/java.desktop/share/classes/javax/swing/JTabbedPane.java line 728:

> 726:      *
> 727:      * @throws IndexOutOfBoundsException if the index is out of range
> 728:      *         {@code (index < 0 || index > tab count)}

I expected you to change this one too !

-------------

PR: https://git.openjdk.org/jdk/pull/9496



More information about the client-libs-dev mailing list