-2

I am trying to code using loop but i don't know how to move the cursor up from bottom of the screen and how to use delay method in java. Can anyone help me? Thanks in advance.

1 Answers1

-1

Its clear that you might be using Robot class of java to move the cursor on screen.

How if you need to move a cursor up from bottom just decrease the y coordinate of the point using a loop and it will move the cursor up.Use Thread.sleep(int milliseconds) to show a nice animation.

quadgen
  • 80
  • 8