jdk/src/java.desktop/share/classes/java/awt/EventQueue.java
changeset 45648 87c997b74bb8
parent 35667 ed476aba94de
child 47020 2c55106dc37b
child 47183 03c1b9f44ba2
equal deleted inserted replaced
45533:e6707cd51e28 45648:87c997b74bb8
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
   666     /**
   666     /**
   667      * Dispatches an event. The manner in which the event is
   667      * Dispatches an event. The manner in which the event is
   668      * dispatched depends upon the type of the event and the
   668      * dispatched depends upon the type of the event and the
   669      * type of the event's source object:
   669      * type of the event's source object:
   670      *
   670      *
   671      * <table border=1 summary="Event types, source types, and dispatch methods">
   671      * <table class="striped">
       
   672      * <caption>Event types, source types, and dispatch methods</caption>
       
   673      * <thead>
   672      * <tr>
   674      * <tr>
   673      *     <th>Event Type</th>
   675      *     <th>Event Type</th>
   674      *     <th>Source Type</th>
   676      *     <th>Source Type</th>
   675      *     <th>Dispatched To</th>
   677      *     <th>Dispatched To</th>
   676      * </tr>
   678      * </tr>
       
   679      * </thead>
       
   680      * <tbody>
   677      * <tr>
   681      * <tr>
   678      *     <td>ActiveEvent</td>
   682      *     <td>ActiveEvent</td>
   679      *     <td>Any</td>
   683      *     <td>Any</td>
   680      *     <td>event.dispatch()</td>
   684      *     <td>event.dispatch()</td>
   681      * </tr>
   685      * </tr>
   692      * <tr>
   696      * <tr>
   693      *     <td>Other</td>
   697      *     <td>Other</td>
   694      *     <td>Other</td>
   698      *     <td>Other</td>
   695      *     <td>No action (ignored)</td>
   699      *     <td>No action (ignored)</td>
   696      * </tr>
   700      * </tr>
       
   701      * </tbody>
   697      * </table>
   702      * </table>
   698      *
   703      *
   699      * @param event an instance of {@code java.awt.AWTEvent},
   704      * @param event an instance of {@code java.awt.AWTEvent},
   700      *          or a subclass of it
   705      *          or a subclass of it
   701      * @throws NullPointerException if {@code event} is {@code null}
   706      * @throws NullPointerException if {@code event} is {@code null}