On Fri, 30 Jul 2021 20:42:57 GMT, Alexey Ivanov <aiva...@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

Reply via email to