Java java.awt Desktop fields, constructors, methods, implement or subclass

Example usage for Java java.awt Desktop fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt Desktop.

The text is from its open source code.

Constructor

Desktop()
Suppresses default constructor for noninstantiability.

Method

voidbrowse(URI uri)
Launches the default browser to display a URI .
voidedit(File file)
Launches the associated editor application and opens a file for editing.
DesktopgetDesktop()
Returns the Desktop instance of the current desktop context.
booleanisDesktopSupported()
Tests whether this class is supported on the current platform.
booleanisSupported(Action action)
Tests whether an action is supported on the current platform.
voidmail()
Launches the mail composing window of the user default mail client.
voidmail(URI mailtoURI)
Launches the mail composing window of the user default mail client, filling the message fields specified by a mailto: URI.
voidopen(File file)
Launches the associated application to open the file.
voidprint(File file)
Prints a file with the native desktop printing facility, using the associated application's print command.