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

Need working way to select first item in a context menu

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx

      I need a way to programmatically select the first item in the context menu and give it focus so that I can keyboard navigate it. This is required for the search box in ensemble. I have tried contextMenu.setFocus(true) which seems like it should do it but it dosn't work.Need way to select first item in a context menu.

      It seems to work if I have previously moused over the menu, otherwise it doesn't.

            psomashe Parvathi Somashekar (Inactive)
            jasper Jasper Potts (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: