< prev index next >

test/jdk/java/awt/Focus/NoAutotransferToDisabledCompTest/NoAutotransferToDisabledCompTest.java

Print this page

        

*** 77,87 **** // Activate b1. robot.keyPress(KeyEvent.VK_SPACE); robot.delay(50); robot.keyRelease(KeyEvent.VK_SPACE); Util.waitForIdle(robot); - robot.delay(2000); // Check that focus has been transfered to b0. if (!b0.hasFocus()) { throw new TestFailedException("focus wasn't auto-transfered properly!"); } --- 77,86 ----
< prev index next >