On Mon, 21 Oct 2024 15:54:32 GMT, Abhishek Kumar <[email protected]> wrote:

>> Alexey Ivanov has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Use JButton directly instead of TestButton subclass
>
> test/jdk/javax/swing/JButton/bug4323121.java line 50:
> 
>> 48: 
>> 49:     static JFrame frame;
>> 50:     static JButton button;
> 
> You may move it inside main.

Nope, the `button` field is used to get its location on the screen.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21475#discussion_r1809332537

Reply via email to