类的用途
java.awt.desktop.UserSessionEvent
使用 UserSessionEvent 的包
-
UserSessionEvent 在 java.awt.desktop 中的用法
java.awt.desktop 中的方法,参数类型为 UserSessionEvent修饰符和类型方法描述voidUserSessionListener.userSessionActivated(UserSessionEvent e) 当用户会话切换到时调用。voidUserSessionListener.userSessionDeactivated(UserSessionEvent e) 当用户会话被关闭时调用。