JavaScript is disabled on your browser.
Skip navigation links
Java SE 21 & JDK 21
Overview
Module
Package
Class
Use
Tree
Preview
New
Deprecated
Index
Help
SEARCH
Uses of Class
java.awt.Desktop
Packages that use
Desktop
Package
Description
java.awt
Contains all of the classes for creating user interfaces and for painting graphics and images.
Uses of
Desktop
in
java.awt
Methods in
java.awt
that return
Desktop
Modifier and Type
Method
Description
static
Desktop
Desktop.
getDesktop
()
Returns the
Desktop
instance of the current desktop context.