Uses of Class javax.swing.FocusManager (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
javax.swing.FocusManager

- Packages that use FocusManager
  Package | Description
  --- | ---
  javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

- - ### Uses of FocusManager in javax.swing

    Subclasses of FocusManager in javax.swing
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultFocusManager` This class has been obsoleted by the 1.4 focus APIs.

    Methods in javax.swing that return FocusManager
    Modifier and Type | Method and Description
    --- | ---
    `static FocusManager` | FocusManager.`getCurrentManager()` Returns the current `KeyboardFocusManager` instance for the calling thread's context.

    Methods in javax.swing with parameters of type FocusManager
    Modifier and Type | Method and Description
    --- | ---
    `static void` | FocusManager.`setCurrentManager(FocusManager aFocusManager)` Sets the current `KeyboardFocusManager` instance for the calling thread's context.

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, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.