public class Desktop
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
(package private) static interface |
Desktop.DesktopPeer
The DesktopPeer interface provides abstraction for operating
system related desktop operations like open(file), print(file), etc.
|
Modifier and Type | Method and Description |
---|---|
static Desktop |
getDefaultDesktop()
Returns the default Desktop instance depending on the operating
system and java version availability.
|
(package private) Desktop.DesktopPeer |
getPeer()
Returns the currently used peer.
|
public static Desktop getDefaultDesktop() throws java.lang.UnsupportedOperationException, java.awt.HeadlessException, java.lang.SecurityException
java.lang.UnsupportedOperationException
- if the operation is not supportedjava.awt.HeadlessException
java.lang.SecurityException
Desktop.DesktopPeer getPeer()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.