On Thu, 29 Jul 2021 11:44:31 GMT, Prasanta Sadhukhan <psadhuk...@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

Reply via email to