8225511: javax/swing/JWindow/ShapedAndTranslucentWindows/ShapedTranslucentPerPixelTranslucentGradient.java fails in linux-x64
Reviewed-by: serb, prr
This commit is contained in:
parent
024c62ce0c
commit
7fc422dd93
@ -367,13 +367,13 @@ public abstract class Common {
|
||||
// Drag
|
||||
Point location = window.getLocationOnScreen();
|
||||
robot.dragAndDrop(location.x + 30, location.y + 5, location.x + dl + random.nextInt(dl), location.y + random.nextInt(dl));
|
||||
robot.waitForIdle(delay);
|
||||
robot.waitForIdle(2*delay);
|
||||
checkTranslucentShape();
|
||||
|
||||
// Resize
|
||||
location = window.getLocationOnScreen();
|
||||
robot.dragAndDrop(location.x + 4, location.y + 4, location.x + random.nextInt(2*dl)-dl, location.y + random.nextInt(2*dl)-dl);
|
||||
robot.waitForIdle(delay);
|
||||
robot.waitForIdle(2*delay);
|
||||
checkTranslucentShape();
|
||||
|
||||
EventQueue.invokeAndWait(this::dispose);
|
||||
|
Loading…
Reference in New Issue
Block a user