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

Focus traversal policy in Menubar working incorrectly

XMLWordPrintable

      Focus traversal policy in Menubar working incorrectly 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) Now hit ENTER key, It will open popup menu of "Test 1".
      4) Now press LEFT ARROW key, Menu "Test 3" will be selected and its popup menu will be shown.
      5) Now press RIGHT ARROW key, Menu "Test 1" will be selected and its popup menu will be shown.
      6) Now open any native application, Say notepad on windows, And press ALT Key and hit ENTER, It will select File and open its popup menu.
      7) Now press LEFT ARROW key, It will Display window control menu., Similarly press RIGHT ARROW key when HELP poupmenu is open will also open window control menu.
      Note: Focus traversal in Java is not going to windows control menu while cycling in menu bar, this is unlike native windows.

            kizune Alexander Zuev
            hsinghsunw Hemant Singh (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: