< prev index next >

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

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 25,41 **** package java.awt.desktop; /** * Implementors receive notification when the app has been asked to open again. ! * ! * This notification is useful for showing a new document when your app has no open windows. * * @since 9 */ public interface AppReopenedListener extends SystemEventListener { /** ! * Called when the app has been reopened * @param e the request to reopen the app */ ! public void appReopened(final AppReopenedEvent e); } --- 25,44 ---- package java.awt.desktop; /** * Implementors receive notification when the app has been asked to open again. ! * <p> ! * This notification is useful for showing a new document when your app has no ! * open windows. * * @since 9 */ public interface AppReopenedListener extends SystemEventListener { + /** ! * Called when the app has been reopened. ! * * @param e the request to reopen the app */ ! public void appReopened(AppReopenedEvent e); }
< prev index next >