(Sorry for bad English) Robot doesn't perform it's task after pressing a key, here's my code:
public void keyPressed (KeyEvent e) {
if(e.getKeyCode() == KeyEvent.VK_Z) {
r.keyPress(KeyEvent.VK_X);
r.keyRelease(KeyEvent.VK_X);
}
}
(Sorry for bad English) Robot doesn't perform it's task after pressing a key, here's my code:
public void keyPressed (KeyEvent e) {
if(e.getKeyCode() == KeyEvent.VK_Z) {
r.keyPress(KeyEvent.VK_X);
r.keyRelease(KeyEvent.VK_X);
}
}
Copyright © 2021 Jogjafile Inc.