Example: how to add a keylistener to a jframe System.out.println("test"); frame.addKeyListener(new KeyListener() { public void keyPressed(KeyEvent e) ...
確定! 回上一頁