-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.4.0
-
generic
-
generic
I have added 2 KeyEventDispatchers to the current KeyboardFocusManager and I am trying to remove one of them within the dispatchKeyEvent() method of the first KeyEventDispatcher. The changes made to the KED list is not actually reflected until the end of dispatching and in the above case, the events are getting dispatched to the removed KeyEventDispatchers also. While this may be the expected behavior, it is better to document this clearly that the removal of KEDs will not be reflected on the KED list until the current dispatch is over.
See comments section for more information.
This is reproducible on all platforms right from JDK1.4.
I have attached the sample test that would describe the current behavior.
See comments section for more information.
This is reproducible on all platforms right from JDK1.4.
I have attached the sample test that would describe the current behavior.
- duplicates
-
JDK-6444440 need to clarify several aspects of AWT spec
- Resolved