8079450: [TESTBUG] javax/swing/plaf/nimbus/8041642/bug8041642.java fails
authorsgupta
Mon, 08 Jun 2015 18:30:41 +0300
changeset 31172 58f22982419a
parent 31171 59d8e7712c0b
child 31173 995727750ee6
8079450: [TESTBUG] javax/swing/plaf/nimbus/8041642/bug8041642.java fails Reviewed-by: alexsch
jdk/test/javax/swing/plaf/nimbus/8041642/bug8041642.java
--- a/jdk/test/javax/swing/plaf/nimbus/8041642/bug8041642.java	Fri Jun 05 23:08:31 2015 +0300
+++ b/jdk/test/javax/swing/plaf/nimbus/8041642/bug8041642.java	Mon Jun 08 18:30:41 2015 +0300
@@ -22,7 +22,7 @@
  */
 
 /* @test
-   @bug 8041642
+   @bug 8041642 8079450
    @summary Incorrect paint of JProgressBar in Nimbus LF
    @author Semyon Sadetsky
 */
@@ -63,6 +63,7 @@
                 }
             });
             final Robot robot = new Robot();
+            robot.delay(100);
             Color color = robot.getPixelColor(point.x + 1, point.y + 7);
             System.out.println(color);
             if (color.getGreen() < 150 || color.getBlue() > 30 ||