8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position"

Reviewed-by: serb
This commit is contained in:
Alexander Zuev 2020-10-19 04:26:42 +00:00
parent dd032b7fa6
commit 51a865d66a

View File

@ -98,7 +98,7 @@ public class TestCaretPositionJTextPane {
robot.waitForIdle();
Point p = textPane.getLocationOnScreen();
robot.mouseMove(p.x+ 480, p.y+6);
robot.mouseMove(p.x+ 380, p.y+6);
robot.waitForIdle();
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
robot.waitForIdle();