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

REGRESSION: A component can get unexpected keyTyped event.

XMLWordPrintable

    • b93
    • x86, sparc
    • solaris_10, windows_xp
    • Verified

      If you open a dialog using a spacebar for the menu item, the space character will get written into a focused text component inside the dialog.

      Step to reproduce:
      ---------------------
      1) Run the attached program. You will see a Frame with File Menu .
      2) Press ALT + F . You see a MenuItem 'Test'.
      3) Press spacebar to select the 'Test' MenuItem. An ActionEvent triggers & you will see a
         dialog with textfield. Make the dialog larger. you will see a space character in the
         textfield.

      I tested this with win xp & solaris 10 with PIT build 77.

            ant Anton Tarasov (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: