Hello,
I use a JDialog and added a KeyListener like that:
Under JDK1.3 I got all events from child components there. But under JDK1.4 I get no longer any event.Code:this.addKeyListener(new java.awt.event.KeyAdapter() { public void keyPressed(KeyEvent e) { this_keyPressed(e); } });
I tried with an KeyEventDispatcher, but I doesn't work. Must I use InputMap?
Any example code?
Thanks
Michael




Reply With Quote