Module java.desktop
Package java.awt

Class GraphicsConfigTemplate

java.lang.Object
java.awt.GraphicsConfigTemplate
All Implemented Interfaces:
Serializable

public abstract class GraphicsConfigTemplate extends Object implements Serializable
The GraphicsConfigTemplate class is used to obtain a valid GraphicsConfiguration. A user instantiates one of these objects and then sets all non-default attributes as desired. The GraphicsDevice.getBestConfiguration(java.awt.GraphicsConfigTemplate) method found in the GraphicsDevice class is then called with this GraphicsConfigTemplate. A valid GraphicsConfiguration is returned that meets or exceeds what was requested in the GraphicsConfigTemplate.
Since:
1.2
See Also: