RFR: JDK-8353942 : Open source Swing Tests - Set 5 [v2]

Damon Nguyen dnguyen at openjdk.org
Wed Apr 16 21:25:46 UTC 2025


On Wed, 16 Apr 2025 21:09:52 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> test/jdk/javax/swing/DataTransfer/ListDragOverFeedbackTest.java line 101:
>> 
>>> 99:         list2.setLayoutOrientation(JList.VERTICAL_WRAP);
>>> 100:         list2.setTransferHandler(handler);
>>> 101:         list2.setBorder(BorderFactory.createLineBorder(Color.BLACK));
>> 
>> The first two lists seem to be cut off on MacOS at least. The test itself works and passes.
>> 
>> <img width="392" alt="Screenshot 2025-04-16 at 1 46 16 PM" src="https://github.com/user-attachments/assets/b452ed69-cc4a-4bb6-9cd1-c5ecce6bcec6" />
>
> Increased frame size. Can you plz check again.

Still slightly cut off for the first list. But I guess that one doesn't matter as much since 10, 11, 12, 13, and 14 aren't even visible. That one is supposed to have no wrap too. LGTM now

<img width="392" alt="Screenshot 2025-04-16 at 2 21 03 PM" src="https://github.com/user-attachments/assets/82af89b0-8034-4907-8555-d26f273a6300" />

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24698#discussion_r2047780609


More information about the client-libs-dev mailing list