Skip to content
Permalink
Browse files
8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java faile…
…d with "RuntimeException: Wrong caret position"

Reviewed-by: serb
  • Loading branch information
Alexander Zuev committed Oct 19, 2020
1 parent dd032b7 commit 51a865d66a5dddbbaaa4bb656fa02ecd1bee1a0b
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/jdk/javax/swing/text/Caret/TestCaretPositionJTextPane.java
@@ -98,7 +98,7 @@ public static void main(String args[]) throws Exception {

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();

1 comment on commit 51a865d

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on 51a865d Oct 19, 2020

Please sign in to comment.