< prev index next >

src/java.desktop/share/classes/java/awt/desktop/AppForegroundEvent.java

Print this page

        

*** 33,47 **** * Event sent when the application has become the foreground app, and when it is * no longer the foreground app. * * @see AppForegroundListener#appRaisedToForeground(AppForegroundEvent) * @see AppForegroundListener#appMovedToBackground(AppForegroundEvent) - * * @since 9 */ public final class AppForegroundEvent extends AppEvent { private static final long serialVersionUID = -5513582555740533911L; /** * Constructs an {@code AppForegroundEvent}. * --- 33,49 ---- * Event sent when the application has become the foreground app, and when it is * no longer the foreground app. * * @see AppForegroundListener#appRaisedToForeground(AppForegroundEvent) * @see AppForegroundListener#appMovedToBackground(AppForegroundEvent) * @since 9 */ public final class AppForegroundEvent extends AppEvent { + /** + * Use serialVersionUID from JDK 9 for interoperability. + */ private static final long serialVersionUID = -5513582555740533911L; /** * Constructs an {@code AppForegroundEvent}. *
< prev index next >