--- old/./test/java/awt/event/HierarchyEvent/AncestorResized/AncestorResized.java 2010-01-29 12:53:48.000000000 +0100 +++ new/./test/java/awt/event/HierarchyEvent/AncestorResized/AncestorResized.java 2010-01-29 12:53:47.000000000 +0100 @@ -119,8 +119,12 @@ // ... and start resizing robot.mousePress( InputEvent.BUTTON1_MASK ); - robot.mouseMove(bounds.x + bounds.width + 20, bounds.y + bounds.height + 15); - Util.waitForIdle(robot); + + for (int i = 0; i<20; i++) + { + robot.mouseMove(bounds.x + bounds.width + i, bounds.y + bounds.height + i); + Util.waitForIdle(robot); + } if (ancestorResizedCounter == 0) { robot.mouseRelease( InputEvent.BUTTON1_MASK ); @@ -130,6 +134,8 @@ robot.mouseRelease( InputEvent.BUTTON1_MASK ); + Sysout.println("ANCESTOR_RESIZED event received" + ancestorResizedCounter + " times"); + AncestorResized.pass(); }//End init()