packagecom.ice;importjava.awt.AWTException;importjava.awt.AWTKeyStroke;importjava.awt.Color;importjava.awt.MouseInfo;importjava.awt.Point;importjava.awt.Robot;importjava.awt.event.InputEvent;importjava.awt.event.MouseEvent;importjava.awt.event.MouseListener;/***
*@authorice*/
public class DropColor extendsThread {private static Robot robot = null;/**/
private static int x = 200;
public static int y = 485;
private DropColor() {
try {
robot = new Robot();
} catch (AWTException e) {
e.printStackTrace();
System.exit(1);
}
}
@Override
public void run() {
Color color;
while (x < 350) {
color = this.pickColor();
System.out.println("color = " + color);
if (color.getBlue() == 0) {
S