On Tue, 11 Jan 2022 15:50:48 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
> The protected methods `paintTab` and `paintFocusIndicator` accept the `rect` > parameter which is documented as _“rectangles”_. I suggest updating this > description to a more descriptive: _“the tab rectangles”_ as the array > contains the coordinates of the tabs. > > Similarly, the documentation for `assureRectsCreated` method could be updated > to clarify which rectangles are created. > > The documentation for `paintTabBorder` is inconsistent with other paint > methods, it has no ending punctuation. I updated it to be consistent. > > I split out these changes from > [JDK-8279798](https://bugs.openjdk.java.net/browse/JDK-8279798) and #7031 > because this issue will likely require a CSR. This pull request has now been integrated. Changeset: a825a4a1 Author: Alexey Ivanov <aiva...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/a825a4a1dba14317547b57bc0188b1e912baa251 Stats: 6 lines in 1 file changed: 0 ins; 0 del; 6 mod 8279861: Clarify 'rect' parameters and description of paintTabBorder method in BasicTabbedPaneUI Reviewed-by: prr, psadhukhan ------------- PR: https://git.openjdk.java.net/jdk/pull/7033