title: Java AWT in Windows CE doesn't recognize Key pressed or Key down event
body: <p>I'm trying to get a "key down" or "key pressed" event inside an AWT interface that runs on a Windows CE device, it recognize only the key released event. (I can't use swing because the jvm doesn't support swing and runs Java 1.4)</p>
  
  <pre><code>public class MyView extends Panel implements AWTEventListener
  {
      public MyView() {
              super();
          this.requestFocus();
              this.getToolkit().addAWTEventListener(this, AWTEvent.KEY_EVENT_MASK);
      }
      public void eventDispatched(AWTEvent event) {
              System.out.println("Event ID: "+event.getID());
      }
  }
  </code></pre>
  
  <p>(I also tried with a KeyListener)</p>
  
  <p>Does anyone know why this happens?</p>
  
  <p>Thanks in advance</p>