daily pastebin goal
55%
SHARE
TWEET

Untitled

a guest Dec 7th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.    Timer timer = new Timer(5 * 1000);  
  2.  
  3.  
  4.                
  5.                     Point toCompare = Mouse.getLocation();
  6.                     if(timer.getRemaining() == 0){
  7.                         if(toCompare == Mouse.getLocation()){
  8.                             timer.reset();
  9.                             Status = "Moving mouse slightly";
  10.                             //Mouse.moveSlightly();
  11.                         }else
  12.                             Mouse.moveSlightly();
  13.                         timer.reset();
  14.                     }
RAW Paste Data
Top