## Uses of Class
javax.swing.JDesktopPane

- Packages that use JDesktopPane
  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 JDesktopPane in javax.swing

    Methods in javax.swing that return JDesktopPane
    Modifier and Type | Method | Description
    --- | --- | ---
    `JDesktopPane` | JInternalFrame.`getDesktopPane()` Convenience method that searches the ancestor hierarchy for a `JDesktop` instance.
    `JDesktopPane` | JInternalFrame.JDesktopIcon.`getDesktopPane()` Convenience method to ask the icon for the `Desktop` object it belongs to.
    `static JDesktopPane` | JOptionPane.`getDesktopPaneForComponent(Component parentComponent)` Returns the specified component's desktop pane.

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

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

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.