#How to use robot.mouseMove(x,y)

1 messages · Page 1 of 1 (latest)

median lion
#

It's not quite moving the mouse....

devout shoreBOT
#

<@&987246399047479336> please have a look, thanks.

median lion
#

uhh guys 😨

pale linden
#

Could you elaborate on not quite moving?

median lion
#

but i heard it only works on fullscreen

#

my jframe is a set size, 920, 600

#

the mouse doesn't move, but the line is called i think

tranquil forum
#

u cant move ur actual mouse

#

only the "virtual cursor used by swing"

median lion
#

oh....

tranquil forum
#

so u wont see it visually. unless ur application decorates the cursor with some icon

median lion
#

i made a decorative cursor, yes

tranquil forum
#

if u want to move the actual real mouse, u have to use the windows api and probably need admin rights as well

#

theres JNativeHook for these kind of things