<Swing Dev> Integrated: 8058704: Nimbus does not honor JTextPane background color
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Fri Aug 13 05:19:31 UTC 2021
On Thu, 29 Jul 2021 11:44:31 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> The Nimbus look and feel ignores the configured background color of a JTextPane and always uses white.
> Every other look and feel tested (Metal, Motif, and Windows) correctly honors the configured background color of a JTextPane.
> Issue seems to be in the hardcoded background color in nimbus skin which is rectified via the fix.
> After this fix, the background color is correctly updated to whatever is being set via JTextPane.setBackground().
>
> CI all test run is green.
This pull request has now been integrated.
Changeset: 0c4be76f
Author: Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/0c4be76f7ff3cd5e32c8eb4e04e6986d5f33fbee
Stats: 114 lines in 2 files changed: 112 ins; 0 del; 2 mod
8058704: Nimbus does not honor JTextPane background color
6789980: JEditorPane background color not honored with Nimbus L&F
Reviewed-by: aivanov, serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/4930
More information about the swing-dev
mailing list