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

Require ability to navigate within groups of buttons using arrow keys

XMLWordPrintable

    • generic, unknown, x86, sparc
    • generic, solaris_2.4, solaris_2.5.1, solaris_2.6, windows_nt, windows_2000, windows_xp

      There are many places within Swing where we should have the ability to navigate within groups of buttons using the arrow keys. The ones that come to mind are:

      Groups of JRadioButtons
      JOptionPane buttons
      Potentially, within any ButtonGroup (perhaps with API to turn it on)

      We need to implement something that provides this behavior. We need to apply it to JOptionPane by default, and possibly groups of JRadioButtons.

      Original description below
      ---
      This behaviour was observed in SwingSet so I don't know if its a demo application problem or JRadioButton problem. In SwingSet the radio buttons are visually and operationally (click one, a checked one unclicks) grouped together but the only way I can navigate this set is by tab navigation. In a group, tab navigation should move focus into and out of the group and the arrow keys should move the focus within the group.
      ###@###.### 2005-03-30 17:07:17 GMT

            Unassigned Unassigned
            ejohnsonsunw Earl Johnson (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: