mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8254085: javax/swing/text/Caret/TestCaretPositionJTextPane.java failed with "RuntimeException: Wrong caret position"
Reviewed-by: serb
This commit is contained in:
parent
dd032b7fa6
commit
51a865d66a
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user