Example #1
0
 /**
  * Checks if any key is pressed. This method also checks action keys (Cursor arrows, Home, etc.).
  *
  * @return True if any key is pressed
  */
 public static boolean isKeyPressed() {
   return frame.anyKeyPressed();
 }