| Package | Description | 
|---|---|
| java.awt | Contains all of the classes for creating user
interfaces and for painting graphics and images. | 
| Modifier and Type | Method and Description | 
|---|---|
| DisplayMode | GraphicsDevice. getDisplayMode()Returns the current display mode of this
  GraphicsDevice. | 
| DisplayMode[] | GraphicsDevice. getDisplayModes()Returns all display modes available for this
  GraphicsDevice. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | DisplayMode. equals(DisplayMode dm)Returns whether the two display modes are equal. | 
| void | GraphicsDevice. setDisplayMode(DisplayMode dm)Sets the display mode of this graphics device. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2015, Oracle and/or its affiliates.  All rights reserved.