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

Prasanta Sadhukhan psadhukhan at openjdk.java.net
Fri Nov 13 10:10:57 UTC 2020


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

>> The color instead of hardcoded "Color.lightGray"
>
> Well, even "white" was hardcoded till now...so I am not sure how can we read the color from native...do you have any idea?
> Even CsystemColors.m has all the color hardcoded 
>  sColors[java_awt_SystemColor_ACTIVE_CAPTION_TEXT] =        [NSColor blackColor];

I dont think SystemColors are used in macos. I see in loadSystemColors() is commented in AquaLookAndFeel.java, therefore
loadNativeColors() defined in LWCToolkit.m is not used.

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

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


More information about the swing-dev mailing list