On Fri, 10 Nov 2023 11:20:50 GMT, Abhishek Kumar <[email protected]> wrote:

> JTabbedPane scroll button direction was incorrect because the widget type 
> returned while painting the arrow was `SPINNER_ARROW_BUTTON`. Added the 
> condition check for JTabbedPane before returning the widget type and based on 
> the tab placement set by user, appropriate widget type is returned.
> 
> Tested the CI jobs against the fix and it was green. Link attached in JBS.

test/jdk/javax/swing/JTabbedPane/TestJTabbedPaneArrowDirection.java line 75:

> 73:             SwingUtilities.invokeAndWait(() -> {
> 74:                 if (frame != null) {
> 75:                     frame.dispose();

Dispose is not required here, since you are adding it to passFailJFrame.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16601#discussion_r1391966574

Reply via email to