On Wed, 20 Mar 2024 17:13:34 GMT, Harshitha Onkar <hon...@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

Reply via email to