changeset 6138:99a0d93eb8cf

7109977: [macosx] MixingInHwPanel.java test fails on Mac trying to click in the reserved corner Reviewed-by: coffeys, serb, anthony
author kshefov
date Fri, 07 Jun 2013 12:28:53 +0400
parents 9a93f4d2eb5c
children fa856e37c8ef
files test/java/awt/Mixing/MixingInHwPanel.java
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/Mixing/MixingInHwPanel.java	Thu Apr 25 09:37:03 2013 -0700
+++ b/test/java/awt/Mixing/MixingInHwPanel.java	Fri Jun 07 12:28:53 2013 +0400
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -22,8 +22,8 @@
  */
 
 /*
-  @test %W% %E%
-  @bug 6829858
+  @test
+  @bug 6829858 7109977
   @summary Mixing should work inside heavyweight containers
   @author anthony.petrov@sun.com: area=awt.mixing
   @library ../regtesthelpers
@@ -104,7 +104,7 @@
 
         // And click the part of the button that has been previously hidden
         Point bLoc = button.getLocationOnScreen();
-        robot.mouseMove(bLoc.x + button.getWidth() - 6, bLoc.y + button.getHeight() / 2);
+        robot.mouseMove(bLoc.x + button.getWidth() - 15, bLoc.y + button.getHeight() / 2);
 
         Util.waitForIdle(robot);