Mercurial > hg > openjdk > icedtea > jdk7 > jdk
changeset 5453:8ff5fca08814 icedtea-2.3-branchpoint
Merge
author | andrew |
---|---|
date | Thu, 19 Jul 2012 15:23:52 +0100 |
parents | b47209d721d0 (current diff) 1e341b69c2f7 (diff) |
children | 4c4602a43a37 |
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 Wed Jul 11 01:48:16 2012 +0100 +++ b/test/java/awt/regtesthelpers/Util.java Thu Jul 19 15:23:52 2012 +0100 @@ -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