Witam! Mam fukcję "example()"
public void example() throws AWTException, InterruptedException {
int x = mainFrame.getX(), y = mainFrame.getY();
r = new Robot();
r.mouseMove(x+385,y+77);
r.mousePress(InputEvent.BUTTON1_MASK);
for(int i = 5; i < 5; i++) {
r.keyPress(charTab[i]);
Thread.sleep(500);
}
}
Jest w niej pętla, która się nie wykonuje. Dlaczego?