jdk/test/javax/swing/JInternalFrame/Test6505027.java
changeset 20438 9954b898591b
parent 5506 202f599c92aa
child 40128 e635645d2a8a
--- a/jdk/test/javax/swing/JInternalFrame/Test6505027.java	Tue Oct 01 13:30:37 2013 +0400
+++ b/jdk/test/javax/swing/JInternalFrame/Test6505027.java	Tue Oct 01 13:38:07 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
@@ -96,8 +96,10 @@
         SwingUtilities.convertPointToScreen(point, this.table);
 
         Robot robot = new Robot();
+        robot.setAutoDelay(50);
         robot.mouseMove(point.x + 1, point.y + 1);
         robot.mousePress(InputEvent.BUTTON1_MASK);
+        robot.mouseRelease(InputEvent.BUTTON1_MASK);
     }
 
     public static void validate() {