8277407: javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java fails to compile after JDK-8276058
Reviewed-by: dcubed
This commit is contained in:
parent
d93b238f97
commit
276bfcd1a1
@ -80,7 +80,7 @@ public class bug6276188 {
|
||||
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
|
||||
robot.waitForIdle();
|
||||
|
||||
Color color = robot.getPixelColor(p.x - OFFSET_X, p.y - OFFSET_y);
|
||||
Color color = robot.getPixelColor(p.x - OFFSET_X, p.y - OFFSET_Y);
|
||||
robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
|
||||
robot.waitForIdle();
|
||||
boolean red = color.getRed() > 0 && color.getGreen() == 0 && color.getBlue() == 0;
|
||||
|
Loading…
Reference in New Issue
Block a user