APIdia Launch Partner
Top Constructors Methods
sun.awt

public final Class PlatformGraphicsInfo

extends Object
Class Inheritance
Imports
java.io.File, java.awt.GraphicsEnvironment, .Toolkit

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static GraphicsEnvironment
public static Toolkit
public static String
getDefaultHeadlessMessage()

Called from java.awt.GraphicsEnvironment when getDefaultHeadlessProperty() has returned true, and the application has called an API that requires headful.

public static boolean
getDefaultHeadlessProperty()

Called from java.awt.GraphicsEnvironment when to check if on this platform, the JDK should default to headless mode, in the case the application did not specify a value for the java.awt.headless system property.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PlatformGraphicsInfoback to summary
public PlatformGraphicsInfo()

Method Detail

createGEback to summary
public static GraphicsEnvironment createGE()
createToolkitback to summary
public static Toolkit createToolkit()
getDefaultHeadlessMessageback to summary
public static String getDefaultHeadlessMessage()

Called from java.awt.GraphicsEnvironment when getDefaultHeadlessProperty() has returned true, and the application has called an API that requires headful.

getDefaultHeadlessPropertyback to summary
public static boolean getDefaultHeadlessProperty()

Called from java.awt.GraphicsEnvironment when to check if on this platform, the JDK should default to headless mode, in the case the application did not specify a value for the java.awt.headless system property.