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

REGRESSION: A component can get unexpected keyTyped event.

    Details

    • Subcomponent:
    • Resolved In Build:
      b93
    • CPU:
      x86, sparc
    • OS:
      solaris_10, windows_xp
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: