On Tue, 4 Mar 2025 07:42:15 GMT, Prasanta Sadhukhan <[email protected]> wrote:
>> test/jdk/javax/swing/JMenu/4213634/bug4213634.java line 81: >> >>> 79: frame.setLocationRelativeTo(null); >>> 80: frame.setVisible(true); >>> 81: button.requestFocusInWindow(); >> >> Since the root cause is unknown and you are trying to make the test more >> robust, should we add a delay after `frame.setVisible(true);` ? I'm just >> suspecting request focus failure after `setVisible`. > > that's why I added waitForIdle/delay after createShowGUI I meant in right after `frame.setVisible(true);`, between line 80 and 81. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23837#discussion_r1978904203
