TopLevelWindowListener
interface is used by the EventQueueMonitor
class to notify an interested party when a top level window is created
or destroyed in the Java Virtual Machine. Classes wishing to express
an interest in top level window events should implement this interface
and register themselves with the EventQueueMonitor
by calling the
EventQueueMonitor.addTopLevelWindowListener
class method.
EventQueueMonitor
, EventQueueMonitor#addTopLevelWindowListener
, EventQueueMonitor#removeTopLevelWindowListener
Modifier and Type | Method and Description |
---|---|
public void | topLevelWindowCreated(Window
the Window that was created w)Invoked when a new top level window has been created. |
public void | topLevelWindowDestroyed(Window
the Window that was destroyed w)Invoked when a top level window has been destroyed. |
topLevelWindowCreated | back to summary |
---|---|
public void topLevelWindowCreated(Window w) Invoked when a new top level window has been created.
|
topLevelWindowDestroyed | back to summary |
---|---|
public void topLevelWindowDestroyed(Window w) Invoked when a top level window has been destroyed.
|