- All Superinterfaces:
public interface TopLevelWindowListener extends EventListener
TopLevelWindowListenerinterface is used by the
EventQueueMonitorclass 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
EventQueueMonitorby calling the
topLevelWindowCreatedvoid topLevelWindowCreated(Window w)Invoked when a new top level window has been created.
w- the Window that was created
topLevelWindowDestroyedvoid topLevelWindowDestroyed(Window w)Invoked when a top level window has been destroyed.
w- the Window that was destroyed