Skip to content

Commit 51a865d

Browse files
author
Alexander Zuev
committed
8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position"
Reviewed-by: serb
1 parent dd032b7 commit 51a865d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jdk/javax/swing/text/Caret/TestCaretPositionJTextPane.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public static void main(String args[]) throws Exception {
9898

9999
robot.waitForIdle();
100100
Point p = textPane.getLocationOnScreen();
101-
robot.mouseMove(p.x+ 480, p.y+6);
101+
robot.mouseMove(p.x+ 380, p.y+6);
102102
robot.waitForIdle();
103103
robot.mousePress(InputEvent.BUTTON1_DOWN_MASK);
104104
robot.waitForIdle();

0 commit comments

Comments
 (0)