<Swing Dev> RFR: 8058704: Nimbus does not honor JTextPane background color [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.java.net
Mon Aug 2 05:00:22 UTC 2021
On Fri, 30 Jul 2021 20:42:57 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with two additional commits since the last revision:
>>
>> - Fix
>> - JEditorpane background color fix
>
> test/jdk/javax/swing/plaf/nimbus/TestNimbusJTextPaneColor.java line 74:
>
>> 72: if (frame != null) {
>> 73: SwingUtilities.invokeAndWait(frame::dispose);
>> 74: }
>
> `frame` is accessed on main thread without synchronisation.
NimbusLookAndFeel is customized look and feel but I don't see mention of default background color to be white in spec..If it is not set explicitly, background color is drawn in "NimbusBlueGrey" background which seems to be same as what is used in SwingSet2 demos in Nimbus L&F
-------------
PR: https://git.openjdk.java.net/jdk/pull/4930
More information about the swing-dev
mailing list