8020851: java.awt.event.WindowEvent spec should state that WINDOW_CLOSED event may not be delivered under certain circumstances

Reviewed-by: anthony, art
This commit is contained in:
Sergey Bylokhov 2013-10-23 16:24:50 +04:00
parent 9d1ce9a555
commit 09d0694c90

View File

@ -79,8 +79,10 @@ public class WindowEvent extends ComponentEvent {
@Native public static final int WINDOW_CLOSING = 1 + WINDOW_FIRST; //Event.WINDOW_DESTROY
/**
* The window closed event. This event is delivered after
* the window has been closed as the result of a call to dispose.
* The window closed event. This event is delivered after the displayable
* window has been closed as the result of a call to dispose.
* @see java.awt.Component#isDisplayable
* @see Window#dispose
*/
@Native public static final int WINDOW_CLOSED = 2 + WINDOW_FIRST;