RFR: 4459231: Focus of JTabbedPane(with Scrollable tablayout) changes on change in LookAndFeel [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Dec 9 09:59:02 UTC 2025


On Tue, 9 Dec 2025 09:28:29 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test fix
>
> test/jdk/javax/swing/JTabbedPane/TabbedPaneBugWithLNF.java line 27:
> 
>> 25:  * @test
>> 26:  * @bug 4459231
>> 27:  * @summary Verifies getBaseline causes NPE for Nimbus L&F
> 
> Summary is different, please update the summary.

fixed

> test/jdk/javax/swing/JTabbedPane/TabbedPaneBugWithLNF.java line 46:
> 
>> 44:     private static JTabbedPane tabPane;
>> 45:     private static JButton testBtn;
>> 46:     private String labelOfCurrentJBtn = null;
> 
> `labelOfCurrentJBtn ` is unused.

removed

> test/jdk/javax/swing/JTabbedPane/TabbedPaneBugWithLNF.java line 109:
> 
>> 107:         return frame;
>> 108:     }
>> 109: }
> 
> I don't see any empty line here.

added

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28571#discussion_r2601895390
PR Review Comment: https://git.openjdk.org/jdk/pull/28571#discussion_r2601895795
PR Review Comment: https://git.openjdk.org/jdk/pull/28571#discussion_r2601896260


More information about the client-libs-dev mailing list