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

Sergey Bylokhov serb at openjdk.java.net
Fri Nov 13 07:21:57 UTC 2020


On Fri, 13 Nov 2020 02:39:29 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> src/java.desktop/macosx/classes/com/apple/laf/AquaLookAndFeel.java line 332:
>> 
>>> 330:         final ColorUIResource selectedTabTitleNormalColor =
>>> 331:                         System.getProperty("os.version").contains("10.16") ?
>>> 332:                                     new ColorUIResource(Color.lightGray) : white;
>> 
>> Can we read this information from the native? Probably it is already accessed by the SystemColor?
>
> What "information" you want to be read from native?

The color instead of hardcoded "Color.lightGray"

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

PR: https://git.openjdk.java.net/jdk/pull/1182


More information about the swing-dev mailing list