首页 > 编程语言 > 详细

HackDemo.java==

时间:2014-09-13 00:38:44      阅读:419      评论:0      收藏:0      [点我收藏+]

 

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();

}

}

}

 bubuko.com,布布扣

HackDemo.java==

原文:http://www.cnblogs.com/fantasy12436109/p/3969312.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!