changeset 5452:1e341b69c2f7

Removed duplicate method.
author Pavel Tisnovsky <ptisnovs@redhat.com>
date Fri, 13 Jul 2012 16:12:22 +0200
parents 0f03c3a0bf94
children 8ff5fca08814
files test/java/awt/regtesthelpers/Util.java
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/test/java/awt/regtesthelpers/Util.java	Fri Jun 29 15:21:00 2012 +0100
+++ b/test/java/awt/regtesthelpers/Util.java	Fri Jul 13 16:12:22 2012 +0200
@@ -140,13 +140,6 @@
         robot.mouseMove(bounds.x + bounds.width / 2, bounds.y + bounds.height / 2);
     }
 
-    public static Point getTitlePoint(Window decoratedWindow) {
-        Point p = decoratedWindow.getLocationOnScreen();
-        Dimension d = decoratedWindow.getSize();
-        return new Point(p.x + (int)(d.getWidth()/2),
-                         p.y + (int)decoratedWindow.getInsets().top/2);
-    }
-
     /**
      * Moves mouse pointer in the center of a given {@code comp} component
      * and performs a left mouse button click using the {@code robot} parameter