RFR: 8075917: The regression-swing case failed as the text on label is not painted red with the GTK L&F
Abhishek Kumar
abhiscxk at openjdk.org
Fri Feb 9 04:08:17 UTC 2024
JLabel text is not painted with the LAF defined foreground color in GTK LAF. In GTK LAF the foreground color is retrieved by using native system APIs. Fix is to return the foreground color if it is set by LAF defined property otherwise return the default color by calling native APIs.
Applet based test has been converted to automatic test and check for all installed LAFs. CI testing is green for test suite and individual test. Link attached in JBS.
-------------
Commit messages:
- JLable foreground color fix for GTK LAF
Changes: https://git.openjdk.org/jdk/pull/17763/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17763&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8075917
Stats: 131 lines in 2 files changed: 131 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/17763.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/17763/head:pull/17763
PR: https://git.openjdk.org/jdk/pull/17763
More information about the client-libs-dev
mailing list