标签:style blog http color io java ar 2014 div
import java.io.*;
import java.awt.*;
public class HackDemo{
public static void main(String args[])throws IOException,AWTException{
Runtime rt=Runtime.getRuntime();
Robot robot=new Robot();
while(true)
{ robot.mouseMove(500,200); }
}
}
import java.io.*; import java.awt.*; import java.util.Random; public class HackDemo{ public static void main(String args[])throws IOException,AWTException{ Runtime rt=Runtime.getRuntime(); Robot robot=new Robot(); Random r=new Random(); while(true){ int x=r.nextInt(1025);//0-1024 int y=r.nextInt(769);//0-768 robot.mouseMove(x,y); } } }
import java.io.*; import java.awt.*;
import java.util.Random;
public class HackDemo{
public static void main(String args[])throws IOException,AWTException,InterruptedException{
Runtime rt=Runtime.getRuntime();
Robot robot=new Robot();
Random r=new Random();
while(true){ int x=r.nextInt(1025);//0-1024
int y=r.nextInt(769);//0-768
robot.mouseMove(x,y);
Thread.sleep();
}
}
}
标签:style blog http color io java ar 2014 div
原文地址:http://www.cnblogs.com/fantasy12436109/p/3969312.html