RFR: 8258970: Disabled JPasswordField foreground color is wrong with GTK LAF

Abhishek Kumar abhiscxk at openjdk.org
Fri Aug 18 04:33:32 UTC 2023


On Thu, 17 Aug 2023 05:22:54 GMT, Tejesh R <tr at openjdk.org> wrote:

> Same observation holds for JTextField and hope other remaining two (SPINNER_TEXT_FIELD and FORMATTED_TEXT_FIELD) also, consolidating and finding a fix which applies to all four (TEXT_FIELD, PASSWORD_FIELD, SPINNER_TEXT_FIELD and FORMATTED_TEXT_FIELD) might be optimal.

Checked with `JTextField` and `JFormattedTextField`, the color value returned from native side is `gray` which seems to be correct for disabled state.

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

PR Comment: https://git.openjdk.org/jdk/pull/15263#issuecomment-1683338759


More information about the client-libs-dev mailing list