<Swing Dev> [jdk16] RFR: 8251377: [macos11] JTabbedPane selected tab text is barely legible [v2]

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Thu Dec 24 18:36:14 UTC 2020


On Thu, 24 Dec 2020 17:35:56 GMT, Phil Race <prr at openjdk.org> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Check for BigSur and above
>
> src/java.desktop/macosx/classes/com/apple/laf/AquaLookAndFeel.java line 873:
> 
>> 871:             "TabbedPane.selectedTabTitlePressedColor", selectedTabTitlePressedColor,
>> 872:             "TabbedPane.selectedTabTitleDisabledColor", selectedTabTitleDisabledColor,
>> 873:             "TabbedPane.selectedTabTitleNormalColor", System.getProperty("os.version").contains("10.16") ? selectedControlTextColor : selectedTabTitleNormalColor,
> 
> That doesn't look very robust. What will happen on the next version of macOS ?

Check for BigSur and above is added

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

PR: https://git.openjdk.java.net/jdk16/pull/65


More information about the swing-dev mailing list