Hallo again. It is working now good :) In my code I have a looot of loops in other loops and them in other loops :) Adding println really helped me to find and fix issues that I had. There is still...
Type: Posts; User: Vergil333@gmail.com
Hallo again. It is working now good :) In my code I have a looot of loops in other loops and them in other loops :) Adding println really helped me to find and fix issues that I had. There is still...
It didn't :) But I think problem is in statements inside the While.
Here is something from the code:
public static void main(String[] args) throws InterruptedException {
int l=0;
...
Thank you, that should resolve my problem. Really thanks :)
Sorry, my English is bad. I will try to explain myself.
robot.getPixelColor takes colour of pixel on coordinates x=1147 and y=706 and write it to variable End.
If colour is not the same as in...
public static void main(String[] args) throws InterruptedException {
try {
Robot robot = new Robot();
Color End = robot.getPixelColor(1147, 706);
...