RFR: 8354928: Clean up and open source some miscellaneous AWT tests [v2]
Phil Race
prr at openjdk.org
Fri Apr 18 21:00:47 UTC 2025
On Fri, 18 Apr 2025 18:18:34 GMT, Alexander Zuev <kizune at openjdk.org> wrote:
>> test/jdk/java/awt/event/MouseWheelEvent/HWWheelScroll.java line 75:
>>
>>> 73: retValue.add(makeListFrame(TEXT_TALL));
>>> 74: retValue.add(makeListFrame(TEXT_WIDE));
>>> 75: retValue.add(makeListFrame(TEXT_SMALL));
>>
>> I see these frames being generated and displayed, but I have a single empty & untitled frame. Which one is this supposed to be?
>> <img width="592" alt="Screenshot 2025-04-18 at 10 32 55 AM" src="https://github.com/user-attachments/assets/36058ddc-4ac3-4ae3-ab51-e52e8962ba07" />
>
> It's the parent frame for the FileDialog - you can try the scrolling inside or ignore it - it does not matter. Just do not close it until the test scenario is complete.
Perhaps you should give it a title - see line 76. eg
Frame f = new Frame("File Dialog Owner");
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24755#discussion_r2051115083
More information about the client-libs-dev
mailing list