RFR: JDK-8328225: Convert ImageDecoratedDnD.html applet test to main [v3]
Alexey Ivanov
aivanov at openjdk.org
Wed Mar 20 17:32:55 UTC 2024
On Wed, 20 Mar 2024 17:13:34 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:
>> Following test is converted to main using PassFailJFrame.
>
> Harshitha Onkar has updated the pull request incrementally with two additional commits since the last revision:
>
> - minor fix
> - instruction line-lengths
test/jdk/java/awt/dnd/ImageDecoratedDnD/ImageDecoratedDnD.java line 87:
> 85: Component dragSource, dropTarget;
> 86:
> 87: frame.setBounds(0, 400, 400, 400);
Suggestion:
frame.setSize(400, 400);
The frame is positioned by `PassFailJFrame`, so setting the location is redundant.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/18315#discussion_r1532513704
More information about the client-libs-dev
mailing list