On Tue, 4 Mar 2025 08:57:19 GMT, Prasanta Sadhukhan <psadhuk...@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

Reply via email to