arrow keys processing code example Example: processing right arrow key void keyPressed() { if (keyCode == DOWN) { } }