RFR: 8350924: javax/swing/JMenu/4213634/bug4213634.java fails [v2]
Alexey Ivanov
aivanov at openjdk.org
Tue Mar 4 14:22:58 UTC 2025
On Tue, 4 Mar 2025 08:57:19 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> I meant in right after `frame.setVisible(true);`, between line 80 and 81.
>
> I know what you meant but I am saying its not needed as historically we added delay/waitForIdle after we do setVisible and start the test..
> Also requestFocusInWindow is not guranteed to be done by JDK, its just a request...
Now that the text component is gone, the frame has the only focusable component which is the button. So the button should get the focus even without the request.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/23837#discussion_r1979557307
More information about the client-libs-dev
mailing list