| 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 |
|---|---|
abstract ColorModel |
Toolkit.getColorModel()
Determines the color model of this toolkit's screen.
|
abstract GraphicsDevice |
GraphicsEnvironment.getDefaultScreenDevice()
Returns the default screen
GraphicsDevice. |
abstract GraphicsDevice[] |
GraphicsEnvironment.getScreenDevices()
Returns an array of all of the screen
GraphicsDevice
objects. |
Insets |
Toolkit.getScreenInsets(GraphicsConfiguration gc)
Gets the insets of the screen.
|
abstract int |
Toolkit.getScreenResolution()
Returns the screen resolution in dots-per-inch.
|
abstract Dimension |
Toolkit.getScreenSize()
Gets the size of the screen.
|
boolean |
Toolkit.isFrameStateSupported(int state)
Returns whether Toolkit supports this state for
Frames. |
protected void |
Toolkit.loadSystemColors(int[] systemColors)
Fills in the integer array that is supplied as an argument
with the current system color values.
|
| Constructor and Description |
|---|
Frame()
Constructs a new instance of
Frame that is
initially invisible. |
Frame(String title)
Constructs a new, initially invisible
Frame object
with the specified title. |
Copyright © 2012. All Rights Reserved.