RFR: 8187759: Background not refreshed when painting over a transparent JFrame [v2]

Tejesh R tr at openjdk.org
Tue Feb 6 08:08:14 UTC 2024


On Fri, 2 Feb 2024 07:03:09 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/javax/swing/JFrame/JFrameBackgroundRefreshTest.java line 77:
>> 
>>> 75: 
>>> 76:         frame = new JFrame("JFrame Background refresh test");
>>> 77:         passFailJFrame = new PassFailJFrame("Test Instructions",
>> 
>> This test is unusable with mouse for me(before and after the fix). The windows with the floating text obscures the 
>> "Pass" and "Fail" buttons.
>> 
>> Also, it looks like this test doesn't have to be manual.
>> It can easily be automated, e.g. by moving the mouse cursor over a white window and then moving it away from that window.
>> If any non-white pixels are left drawn over the white window, the test fails.
>
> Yeah, couldn't think about an alternative test, to switch from test to PassFail windows we might have select from toolbar. Will work on automating the test.

Test automated.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/17081#discussion_r1479359619


More information about the client-libs-dev mailing list