public final class DisplayUtil
extends java.lang.Object
Constructor and Description |
---|
DisplayUtil() |
Modifier and Type | Method and Description |
---|---|
static java.awt.GraphicsConfiguration |
getPreferredConfig(java.awt.GraphicsDevice d,
boolean is3D,
boolean useStereo)
Get graphics configuration for the screen
|
public static java.awt.GraphicsConfiguration getPreferredConfig(java.awt.GraphicsDevice d, boolean is3D, boolean useStereo)
d
- the GraphicsDeviceis3D
- true for a Java 3D displayuseStereo
- true if a stereo display (is3D must also be true)