RFR: 8226990: GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox. [v3]

Abhishek Kumar abhiscxk at openjdk.org
Thu Feb 22 06:35:19 UTC 2024


On Thu, 22 Feb 2024 05:14:56 GMT, Tejesh R <tr at openjdk.org> wrote:

>> Abhishek Kumar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Remove WindowsLAF check
>
> src/java.desktop/share/classes/javax/swing/plaf/synth/SynthTabbedPaneUI.java line 679:
> 
>> 677:     private Color getUnselectedBackgroundAt(int index) {
>> 678:         Color color = tabPane.getBackgroundAt(index);
>> 679:         if (color instanceof UIResource) {
> 
> Both condition statements can be combined.

done.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17720#discussion_r1498714057


More information about the client-libs-dev mailing list