Hello,

I use a JDialog and added a KeyListener like that:

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

Thanks

Michael