Hello,
I created a GUI that the player has to complete when he logs in for the first time. I would like that when the player presses "escape", the pause menu appears but without removing my GUI.
I have this to detect "escape" pressed
@Override
public void keyTyped(char c, int i) {
if (i == 1) {
} else {
super.keyTyped(c, i);
}
}