posted 15 years ago
Yes, there is. Otherwise how could you type a series of characters and expect that the keys will be read in the correct order? It would be impossible to write any sort of text editor, for example. Instead, it is guaranteed that a single listener will always observe multiple events in the order they were generated. What is not guaranteed is the order in which multiple listeners will be notified of a single event. So if there are three events with multiple listeners - first all listeners will be notified of event 1 (in unknown order), then all listeners will be notified of event 2 (again in unknown and possibly different order), and then all listeners will be notified of event 3 (etc).