Package Summary  Overview Summary

class:AppForegroundListener [NONE]

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.
Since:
9

method:appRaisedToForeground(java.awt.desktop.AppForegroundEvent) [NONE]

  • appRaisedToForeground

    void appRaisedToForeground (AppForegroundEvent e)
    Called when the app becomes the foreground app.
    Parameters:
    e - event
  • method:appMovedToBackground(java.awt.desktop.AppForegroundEvent) [NONE]

    appMovedToBackground

    void appMovedToBackground (AppForegroundEvent e)
    Called when the app becomes the background app and another app becomes the foreground app.
    Parameters:
    e - event

    © 2023 Oracle Corporation and/or its affiliates