RFR: 8354928: Clean up and open source some miscellaneous AWT tests

Alexander Zuev kizune at openjdk.org
Fri Apr 18 18:20:48 UTC 2025


On Fri, 18 Apr 2025 17:36:11 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Clean up and open source some tests related to event processing in AWT library.
>
> 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.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24755#discussion_r2050961691


More information about the client-libs-dev mailing list