RFR: 8290278: JavaDoc of index parameter of method JTabbedPane.insertTab

Tejesh R tr at openjdk.org
Fri Jul 15 07:07:10 UTC 2022


On Fri, 15 Jul 2022 06:55:54 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> Did you check that it indeed accept 0 as a valid parameter and no exception is thrown? Also, you need to raise a csr for this.

Yes, I checked with 0 and have gone through the code as well. 0 position indicates index before 1st existing position and it ranges till tabcount. Index checking is done for < 0 to > tabCount().

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

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



More information about the client-libs-dev mailing list