--- old/src/share/classes/java/awt/event/WindowListener.java 2013-12-26 16:15:44.000000000 -0800 +++ new/src/share/classes/java/awt/event/WindowListener.java 2013-12-26 16:15:44.000000000 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1996, 2013, 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 @@ -51,18 +51,21 @@ public interface WindowListener extends EventListener { /** * Invoked the first time a window is made visible. + * @param e the event to be processed */ public void windowOpened(WindowEvent e); /** * Invoked when the user attempts to close the window * from the window's system menu. + * @param e the event to be processed */ public void windowClosing(WindowEvent e); /** * Invoked when a window has been closed as the result * of calling dispose on the window. + * @param e the event to be processed */ public void windowClosed(WindowEvent e); @@ -71,6 +74,7 @@ * minimized state. For many platforms, a minimized window * is displayed as the icon specified in the window's * iconImage property. + * @param e the event to be processed * @see java.awt.Frame#setIconImage */ public void windowIconified(WindowEvent e); @@ -78,6 +82,7 @@ /** * Invoked when a window is changed from a minimized * to a normal state. + * @param e the event to be processed */ public void windowDeiconified(WindowEvent e); @@ -88,6 +93,7 @@ * as a highlighted title bar. The active Window is always either the * focused Window, or the first Frame or Dialog that is an owner of the * focused Window. + * @param e the event to be processed */ public void windowActivated(WindowEvent e); @@ -98,6 +104,7 @@ * highlighted title bar. The active Window is always either the focused * Window, or the first Frame or Dialog that is an owner of the focused * Window. + * @param e the event to be processed */ public void windowDeactivated(WindowEvent e); }