Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4032657

The all key events can't be got on the panal of win32

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      All key events can't be got on the panel of win32 version.
      But they can be got on the panel of Solaris version.

      The following is a sample applet to reproduce a bug.

      import java.awt.*;
      import java.awt.event.*;
      import java.applet.Applet;

      public class My_Event extends Applet implements KeyListener {

          public void init(){
      addKeyListener(this);
          }

          public void keyPressed(KeyEvent evt){
      System.out.println("pressed");
          }

          public void keyReleased(KeyEvent evt){
      System.out.println("released");
          }

          public void keyTyped(KeyEvent evt){
      System.out.println("char:" + evt.getKeyChar());
      System.out.println("code:" + evt.getKeyCode());
          }
      }

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jdunnsunw Jeffrey Dunn (Inactive)
                Reporter:
                kuno Koji Uno
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: