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

JMenu can't be closed after pressing Escape key

XMLWordPrintable

      Any opened menu should be closed, after pressing escape key & pressing arrow key should allow the user to navigate the menu. but this is not happening. But we can do all the operation using mouse.

      Step to reproduce:-
      ------------------
      1) Install jre.
      2) Run SwingSet2 in applet mode on IE6.0 & firefox 1.5.0.9.
      3) Once the applet is loaded, Reload the applet . click on any menu & press escape key. If menu does not close. Try to navigate the menu using arrow key. If you see the same then the bug is reproduce.
      4) Select any menuitem to close the menu using mouse.
      5) Click on any button of the toolbar , so that the selected button get the focus.
      6) Select any menu , you will see the drop down of the menu.
      7) Press left arrow key . Observe pressing left arrow key should select another menu, but you can see that buttons of the toolbar are getting selected.

      The same behaviuor can be seen in Mustang b90 , bundles what i have. This is reproduced till 1.6.0_ub01 & the recent awt respin for 1.6.0_ub02.

            mlapshin Mikhail Lapshin (Inactive)
            lpremkumsunw Lawrence Premkumar1 (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: