类的用途
java.awt.desktop.AppForegroundEvent
使用 AppForegroundEvent 的包
-
AppForegroundEvent 在 java.awt.desktop 中的用法
java.awt.desktop 中的方法,参数类型为 AppForegroundEvent修饰符和类型方法描述voidAppForegroundListener.appMovedToBackground(AppForegroundEvent e) 当应用程序成为后台应用程序而另一个应用程序成为前台应用程序时调用。voidAppForegroundListener.appRaisedToForeground(AppForegroundEvent e) 当应用成为前台应用时调用。