Module java.desktop

Interface AppForegroundListener

All Superinterfaces:
EventListener, SystemEventListener

public interface AppForegroundListener
extends SystemEventListener
Implementors are notified when the app becomes the foreground app and when it is no longer the foreground app. This notification is useful for hiding and showing transient UI like palette windows which should be hidden when the app is in the background.