RFR: 8273478: [macos11] JTabbedPane selected and pressed tab is not legible

Alexey Ivanov aivanov at openjdk.java.net
Thu Sep 9 20:20:09 UTC 2021


On Wed, 8 Sep 2021 09:00:47 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> 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.

Marked as reviewed by aivanov (Reviewer).

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

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



More information about the client-libs-dev mailing list