<Swing Dev> RFR: 8260291: The case instruction is not visible in dark mode

Tejpal Rebari trebari at openjdk.java.net
Mon Feb 15 06:10:40 UTC 2021


On Sun, 14 Feb 2021 07:49:39 GMT, Pankaj Bansal <pbansal at openjdk.org> wrote:

> Please review a trivial test only fix.
> 
> This is a GTKL&F specific manual test and create an instruction panel containing JTextArea. The JTextArea background color is hardcoded as white color, which is causing issues on dark mode in Ubuntu 20.04 and Ubuntu 20.10 as the text color is also white. The fix is to remove the hardcoded white color as the JTextArea background color should be set by L&F and should not be hardcoded in test.

test/jdk/javax/swing/JSpinner/TestJSpinnerPressUnpress.java line 26:

> 24: /*
> 25:  * @test
> 26:  * @bug 8234733 8260291

There is no need to add bug id 8260291 here.
http://openjdk.java.net/jtreg/faq.html#when-should-i-update-the-bug-entry-in-a-test-description

-------------

PR: https://git.openjdk.java.net/jdk/pull/2564


More information about the swing-dev mailing list