Exemple #1
0
 /**
  * Turns on or off the echo of next keys read from the keyboard with getKey() or waitKey(). When
  * the console opens the echo is on.
  *
  * @param on true to on; false to off
  * @see #getChar()
  * @see #waitChar(long)
  */
 public static void echo(boolean on) {
   frame.setEcho(on);
 }