RFR: 8273478: [macos11] JTabbedPane selected and pressed tab is not legible
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Wed Sep 8 09:12:25 UTC 2021
On macOS 11 (bigsur), using the Swing Aqua Look and Feel,
the text of the selected and "pressed" JTabbedPane tab title text is just a light gray outline of white text on a white background which is not readable.
Fix is to use selectedControlTextColor for TabbedPane.selectedTabTitlePressedColor same as what we use for TabbedPane.selectedTabTitleNormalColor. Result is black over white text same as what is seen for native app pressed tabbedpane.
-------------
Commit messages:
- 8273478: [macos11] JTabbedPane selected and pressed tab is not legible
Changes: https://git.openjdk.java.net/jdk/pull/5409/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5409&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8273478
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/5409.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5409/head:pull/5409
PR: https://git.openjdk.java.net/jdk/pull/5409
More information about the client-libs-dev
mailing list