Just another update
This commit is contained in:
parent
a25938f123
commit
00a190b0a6
6591 changed files with 94363 additions and 23227 deletions
|
|
@ -0,0 +1,4 @@
|
|||
val (p , robot)= (component.location, new Robot())
|
||||
robot.mouseMove(p.getX().toInt, p.getY().toInt) //you may want to move a few pixels closer to the center by adding to these values
|
||||
robot.mousePress(InputEvent.BUTTON1_MASK) //BUTTON1_MASK is the left button
|
||||
robot.mouseRelease(InputEvent.BUTTON1_MASK)
|
||||
Loading…
Add table
Add a link
Reference in a new issue