8154468: [TEST_BUG] java/awt/Window/MultiWindowApp/ChildAlwaysOnTopTest.java

Reviewed-by: serb, ssadetsky
This commit is contained in:
Pankaj Bansal 2017-09-25 16:12:49 +05:30 committed by Ajit Ghaisas
parent 6b7c509a0d
commit b8ca97f45c

View File

@ -89,7 +89,7 @@ public class ChildAlwaysOnTopTest {
});
Robot robot = new Robot();
robot.delay(200);
robot.delay(500);
robot.waitForIdle();
SwingUtilities.invokeAndWait(new Runnable() {
@ -101,7 +101,7 @@ public class ChildAlwaysOnTopTest {
}
});
robot.delay(200);
robot.delay(500);
robot.waitForIdle();
Color color = robot.getPixelColor(point.x + 100, point.y + 100);
@ -123,7 +123,7 @@ public class ChildAlwaysOnTopTest {
}
});
robot.delay(200);
robot.delay(500);
robot.waitForIdle();
color = robot.getPixelColor(point.x + 100, point.y + 100);
@ -146,7 +146,7 @@ public class ChildAlwaysOnTopTest {
}
});
robot.delay(200);
robot.delay(500);
robot.waitForIdle();
color = robot.getPixelColor(point.x + 100, point.y + 100);