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

focus spec is wrong about FocusTraversalPolicy.getLastComponent return value for policy provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 6
    • client-libs
    • None
    • b21
    • generic
    • generic

      The focus spec contains the following statement on Focus Traversal Policy Providers:

      -------------------------------------------------------------------------------------------
       When calculating the first or the last Component in FocusTraversalPolicy.getFirstComponent
      or FocusTraversalPolicy.getLastComponent,

          * if obtained Component is a Container and a focus traversal policy provider, that Container's FocusTraversalPolicy is inquired for the default Component, and that default Component is returned as the result
      -------------------------------------------------------------------------------------------

      However for AWT and Swing policies, method "getLastComponent" returns the last component
      of a provider, not default.

      This should be corrected.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: