On Fri, 13 Nov 2020 00:24:00 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> On macOS 11 (bigsur) beta, using the Swing Aqua Look and Feel, the text of >> the selected JTabbedPane tab title text is just a light gray outline of >> white text on a white background. The macOS 11 design inverted from dark >> background / light text to light background / dark text, >> Proposed fix is to use dark color in light background so I used lightGray >> instead of "white" which is being used now, if we are on BigSur. > > 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? ------------- PR: https://git.openjdk.java.net/jdk/pull/1182