| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| javax.swing | Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ContainerOrderFocusTraversalPolicyA FocusTraversalPolicy that determines traversal order based on the order
 of child Components in a Container. | 
| class  | DefaultFocusTraversalPolicyA FocusTraversalPolicy that determines traversal order based on the order
 of child Components in a Container. | 
| Modifier and Type | Method and Description | 
|---|---|
| FocusTraversalPolicy | KeyboardFocusManager. getDefaultFocusTraversalPolicy()Returns the default FocusTraversalPolicy. | 
| FocusTraversalPolicy | Container. getFocusTraversalPolicy()Returns the focus traversal policy that will manage keyboard traversal
 of this Container's children, or null if this Container is not a focus
 cycle root. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | KeyboardFocusManager. setDefaultFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)Sets the default FocusTraversalPolicy. | 
| void | Container. setFocusTraversalPolicy(FocusTraversalPolicy policy)Sets the focus traversal policy that will manage keyboard traversal of
 this Container's children, if this Container is a focus cycle root. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | InternalFrameFocusTraversalPolicyA FocusTraversalPolicy which can optionally provide an algorithm for
 determining a JInternalFrame's initial Component. | 
| class  | LayoutFocusTraversalPolicyA SortingFocusTraversalPolicy which sorts Components based on their size,
 position, and orientation. | 
| class  | SortingFocusTraversalPolicyA FocusTraversalPolicy that determines traversal order by sorting the
 Components of a focus traversal cycle based on a given Comparator. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.