Use KeyEvent. The key that was pressed is stored in the key variable. awt. This event is generated when a character is entered. This returns the key code of ...
確定! 回上一頁