Package | Description |
---|---|
java.awt |
Contains all of the classes for creating user interfaces and for painting
graphics and images.
|
java.awt.desktop |
Provides interfaces and classes for interaction with various desktop
capabilities.
|
Modifier and Type | Method | Description |
---|---|---|
void |
Desktop.addAppEventListener(SystemEventListener listener) |
Adds sub-types of
SystemEventListener to listen for notifications
from the native system. |
void |
Desktop.removeAppEventListener(SystemEventListener listener) |
Removes sub-types of
SystemEventListener to listen for notifications
from the native system. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
AppForegroundListener |
Implementors are notified when the app becomes the foreground app and when it
is no longer the foreground app.
|
interface |
AppHiddenListener |
Implementors are notified when the app is hidden or shown by the user.
|
interface |
AppReopenedListener |
Implementors receive notification when the app has been asked to open again.
|
interface |
ScreenSleepListener |
Implementors receive notification when the displays attached to the system have entered power save sleep.
|
interface |
SystemSleepListener |
Implementors receive notification as the system is entering sleep, and after
the system wakes.
|
interface |
UserSessionListener |
Implementors receive notification when the user session changes.
|
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, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps