< prev index next >

src/java.desktop/share/classes/sun/java2d/pipe/hw/AccelDeviceEventNotifier.java

Print this page

        

*** 135,145 **** * Implementation note: the current list of listeners is first duplicated * which allows the listeners to remove themselves during the iteration. * * @param screen a screen number with which the device which is a source of * the event is associated with ! * @param eventType a type of the event * @see #DEVICE_DISPOSED * @see #DEVICE_RESET */ private final void notifyListeners(int deviceEventType, int screen) { HashMap<AccelDeviceEventListener, Integer> listClone; --- 135,145 ---- * Implementation note: the current list of listeners is first duplicated * which allows the listeners to remove themselves during the iteration. * * @param screen a screen number with which the device which is a source of * the event is associated with ! * @param deviceEventType a type of the event * @see #DEVICE_DISPOSED * @see #DEVICE_RESET */ private final void notifyListeners(int deviceEventType, int screen) { HashMap<AccelDeviceEventListener, Integer> listClone;
< prev index next >