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

JTextComponent.setFocusAccelerator() spec does not state that focus accelerator is L&F dependent

    XMLWordPrintable

Details

    • b110
    • generic
    • generic
    • Verified

    Description

      The JTextComponent.setFocusAccelerator() spec at
      http://download.java.net/jdk8/docs/api/javax/swing/text/JTextComponent.html
      states the focus accelerator is the combination of the ALT key and an uppercase character.

      However, the focus accelerator appears to be L&F dependent.
      For example, on Mac:
      Metal L&F: ALT+[uppercase character]
      Aqua L&F: CTRL+ALT+[uppercase character]

      The spec should be updated to state this is L&F dependent behavior.

      Attachments

        Activity

          People

            malenkov Sergey Malenkov (Inactive)
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: