<Swing Dev> RFR: 8058704: Nimbus does not honor JTextPane background color [v2]
Alexey Ivanov
aivanov at openjdk.java.net
Wed Aug 4 21:22:29 UTC 2021
On Tue, 3 Aug 2021 11:21:01 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> I dont know. I am only telling by looking at source code..I dont know what NimbusL&F creator meant it for...
>
> I think we should give this fix a chance...sInce this is solving 2 long-standing issue where setBackground() contract is not honoured plus causing no regression to existing tests.
> If we do find any testcase with "shape" in future from open community or any other related testcase being failed for this fix, we can always work on it (or at the least roll back this)
It looks the fix doesn't work or alternatively it works in an unexpected way.
Both JEditorPane and JTextPane used to have white background but now, with these changes, their background is the same of the panel below. It's probably know what we want.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4930
More information about the swing-dev
mailing list