Search:

Type: Posts; User: Vergil333@gmail.com

Search: Search took 0.07 seconds.

  1. Replies
    14
    Views
    2,781

    Re: How to get getPixelColor to Loop

    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...
  2. Replies
    14
    Views
    2,781

    Re: How to get getPixelColor to Loop

    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;
    ...
  3. Replies
    14
    Views
    2,781

    Re: How to get getPixelColor to Loop

    Thank you, that should resolve my problem. Really thanks :)
  4. Replies
    14
    Views
    2,781

    Re: How to get getPixelColor to Loop

    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...
  5. Replies
    14
    Views
    2,781

    How to get getPixelColor to Loop

    public static void main(String[] args) throws InterruptedException {

    try {

    Robot robot = new Robot();
    Color End = robot.getPixelColor(1147, 706);
    ...
Results 1 to 5 of 5