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

Allow the setting of the order of focusable components

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 6u10
    • client-libs
    • x86
    • windows_vista

      A DESCRIPTION OF THE REQUEST :
      Say I have a container with a number of controls. I would like to be able to change the "TAB" order according to the preferences.
      JComponent.setNextFocusableComponent has been deprecated.

      References:
      1. http://java.sun.com/javase/6/docs/api/javax/swing/JComponent.html
      2. Core Java Vol I 8th Edition (ISBN: 978-0-13-235476-9)

      JUSTIFICATION :
      Flexibility in programming aides the developer in meeting specific requirements.

      ACTUAL -
      Method has been deprecated.

      CUSTOMER SUBMITTED WORKAROUND :
        Suggested workaround:
      "Try grouping related components into panels so that they form cycles. If that doesn't work, you have to either install a comparator that sorts the components differently or completely replace the transversal policy."

      Reference book #1 (see description) Pg.452.

            ant Anton Tarasov (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: