I have a JFrame extending my class, and have enabled:
enableEvents(AWTEvent.KEY_EVENT_MASK | AWTEvent.MOUSE_EVENT_MASK);
All my key pressings go into this processKeyEvent method, EXCEPT when I press the VK_TAB key.
Any ideas?
protected void processKeyEvent(KeyEvent e) {
if(e.getID() == KeyEvent.KEY_PRESSED && e.getKeyCode() == KeyEvent.VK_TAB) {
// never arrives here!
}
}