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

Mnemonics do not work using the keyboard on the Mac

    XMLWordPrintable

    Details

      Description

      ADDITIONAL SYSTEM INFORMATION :
      OSX 12.6.2
      Java 10


      A DESCRIPTION OF THE PROBLEM :
      If I run ButtonDemo.java on the mac, from the tutorial ( https://docs.oracle.com/javase/tutorial/uiswing/components/button.html ) the mnemonics visually highlight (underline) the characters, but alt-key does not trigger the button action

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Run ButtonDemo.java

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Expect alt-D/M/E to "click" the buttons.
      ACTUAL -
      alt key highlights, but alt-D/M/E does nothing.

      ---------- BEGIN SOURCE ----------
      linked from the tutorial https://docs.oracle.com/javase/tutorial/uiswing/components/button.html
      ---------- END SOURCE ----------

      FREQUENCY : always


        Attachments

          Activity

            People

            • Assignee:
              pardesha Pardeep Sharma
              Reporter:
              webbuggrp Webbug Group
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: