摘要: 1 JFrame demo = new JFrame(); 2 demo.addKeyListener( 3 new KeyListener(){ 4 public void keyReleased(KeyEvent e) { 5 if (e.getKeyCode() == KeyEvent.VK_ESCAPE ) { ... 阅读全文
posted @ 2016-08-12 13:58 伊小白 阅读(1221) 评论(0) 推荐(0) 编辑