<Swing Dev> RFR: 8058704: Nimbus does not honor JTextPane background color
Sergey Bylokhov
serb at openjdk.java.net
Fri Jul 30 19:55:28 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.
Does the JEditorPane have the same issue?
https://bugs.openjdk.java.net/browse/JDK-6789980
-------------
PR: https://git.openjdk.java.net/jdk/pull/4930
More information about the swing-dev
mailing list