Uses of Interface javax.swing.DesktopManager (Java Platform SE 8 )
Date: 2026-06-25

## Uses of Interface
javax.swing.DesktopManager

- Packages that use DesktopManager
  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.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.

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

    Classes in javax.swing that implement DesktopManager
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultDesktopManager` This is an implementation of the `DesktopManager`.

    Methods in javax.swing that return DesktopManager
    Modifier and Type | Method and Description
    --- | ---
    `DesktopManager` | JDesktopPane.`getDesktopManager()` Returns the `DesktopManger` that handles desktop-specific UI actions.

    Methods in javax.swing with parameters of type DesktopManager
    Modifier and Type | Method and Description
    --- | ---
    `void` | JDesktopPane.`setDesktopManager(DesktopManager d)` Sets the `DesktopManger` that will handle desktop-specific UI actions.

  - ### Uses of DesktopManager in javax.swing.plaf.basic

    Fields in javax.swing.plaf.basic declared as DesktopManager
    Modifier and Type | Field and Description
    --- | ---
    `protected DesktopManager` | BasicDesktopPaneUI.`desktopManager`

    Methods in javax.swing.plaf.basic that return DesktopManager
    Modifier and Type | Method and Description
    --- | ---
    `protected DesktopManager` | BasicInternalFrameUI.`createDesktopManager()`
    `protected DesktopManager` | BasicInternalFrameUI.`getDesktopManager()` Returns the proper DesktopManager.

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.