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

The future of JComponent.setRequestFocusEnabled should be reevaluated

XMLWordPrintable

    • beta
    • generic
    • generic

      As part of the Merlin focus project, JComponent.setRequestFocusEnabled was
      deprecated and its implementation was changed to map exactly to the new
      method Component.setFocusable. Scott believes that the old behavior may be
      preferable. He would like to be able to specify that a Component is focusable,
      and should receive focus during keyboard traversal, but that it should not
      automatically take focus when the user clicks on it with the mouse.

      We are concerned that the accessibility team would be against this behavior,
      and this also seems like more of a PLAF issue. Nevertheless, we should look
      into it before beta ships.

            svioletsunw Scott Violet (Inactive)
            dmendenhsunw David Mendenhall (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: