I’m trying to find the Java code (for Desktop/AWT) that handles the Escape key (requestClose) functionality for SimpleApplication, whereby pressing the “Esc” key on your keyboard closes the application. I found a SystemListenener and an AWTPanelsListener that defines a requestClose(boolean) method, but for the Desktop it just throws an IllegalArgumentException.