| Package | Description |
|---|---|
| java.awt |
Contains all of the classes for creating user interfaces and for painting graphics and images.
|
| java.awt.im.spi |
Provides interfaces that enable the development of input methods that can be used with any Java runtime environment.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SystemTray.add(TrayIcon
Adds a
TrayIcon to the
SystemTray.
|
protected void |
Component.FlipBufferStrategy.createBuffers(int numBuffers, BufferCapabilities
Creates one or more complex, flipping buffers with the given capabilities.
|
void |
Canvas.createBufferStrategy(int numBuffers, BufferCapabilities
Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
|
void |
Window.createBufferStrategy(int numBuffers, BufferCapabilities
Creates a new strategy for multi-buffering on this component with the required buffer capabilities.
|
VolatileImage |
GraphicsConfiguration.createCompatibleVolatileImage(int width, int height, ImageCapabilities
Returns a
VolatileImage with a data layout and color model compatible with this
GraphicsConfiguration, using the specified image capabilities.
|
VolatileImage |
GraphicsConfiguration.createCompatibleVolatileImage(int width, int height, ImageCapabilities
Returns a
VolatileImage with a data layout and color model compatible with this
GraphicsConfiguration, using the specified image capabilities and transparency value.
|
VolatileImage |
Component.createVolatileImage(int width, int height, ImageCapabilities
Creates a volatile off-screen drawable image, with the given capabilities.
|
static Cursor |
Cursor.getSystemCustomCursor(String
Returns a system-specific custom cursor object matching the specified name.
|
| Constructor and Description | |
|---|---|
FlipBufferStrategy(int numBuffers, BufferCapabilities
Creates a new flipping buffer strategy for this component.
|
|
Robot()
Constructs a Robot object in the coordinate system of the primary screen.
|
|
Robot(GraphicsDevice
Creates a Robot for the given screen device.
|
| Modifier and Type | Method and Description |
|---|---|
Locale |
InputMethodDescriptor.getAvailableLocales()
Returns the locales supported by the corresponding input method.
|