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

JMenu loosing focus on hitting ESC when its popup menu is visible

    Details

      Backports

        Description

        JMenu loosing focus on hitting ESC when its popup menu is visible in Windows Look and Feel.

        Steps to reproduce.
        1) Run the attached code.
        2) Press the ALT key, it will select the menu "Test 1".
        3) Hit Enter key, it will make "Test 1" popup menu visible.
        4) Now hit ESC key, It will hide the popup of "Test 1" as well as take away the focus from "Test 1", ideally it should only hide the popup menu of "Test 1" and menu "Test 1" should have focus just like it have aftere step 2.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  alexp Alexander Potochkin (Inactive)
                  Reporter:
                  hsinghsunw Hemant Singh (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Imported:
                    Indexed: