| 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  | DefaultKeyboardFocusManagerThe default KeyboardFocusManager for AWT applications. | 
| class  | KeyboardFocusManagerThe KeyboardFocusManager is responsible for managing the active and focused
 Windows, and the current focus owner. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected List<KeyEventPostProcessor> | KeyboardFocusManager. getKeyEventPostProcessors()Returns this KeyboardFocusManager's KeyEventPostProcessor chain as a
 List. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | KeyboardFocusManager. addKeyEventPostProcessor(KeyEventPostProcessor processor)Adds a KeyEventPostProcessor to this KeyboardFocusManager's post-
 processor chain. | 
| void | KeyboardFocusManager. removeKeyEventPostProcessor(KeyEventPostProcessor processor)Removes a previously added KeyEventPostProcessor from this
 KeyboardFocusManager's post-processor chain. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | DefaultFocusManagerThis class has been obsoleted by the 1.4 focus APIs. | 
| class  | FocusManagerThis class has been obsoleted by the 1.4 focus APIs. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.