(KeyEvent e)
| 72 | |
| 73 | addKeyListener(new KeyAdapter() { |
| 74 | public void keyTyped(KeyEvent e) { |
| 75 | System.out.println(e); |
| 76 | if (e.getKeyCode() == KeyEvent.VK_ESCAPE) { |
| 77 | dispose(); |
| 78 | } |
| 79 | } |
| 80 | }); |
| 81 | |
| 82 | // Dimension screen = Toolkit.getScreenSize(); |
nothing calls this directly
no test coverage detected