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

Sergey Bylokhov serb at openjdk.java.net
Fri Sep 10 02:10:59 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 serb (Reviewer).

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

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



More information about the client-libs-dev mailing list