The following discussion is that I have read after the Java data structure (the specific book name is not clear :)), some statements will be the original sentence in the middle of the book hopes that there is no infringement of intellectual property rights :).
Java's event model has seven parts: 1, the environment. It is all factors that enable event sources to generate events. Click on the keyboard to move the mouse one 2, the event source. It is possible to generate events according to the changes of the environment, such as clicking on the mouse to make a button event source generate a MouseClick event. 3, event object. Events generated by the event source should be specifically indicated by event objects. Such as: ActionEvent4, event processor. A loop, inquiry to the event queue, assign events to the event source. 5, event queue. 6, event listener interface 7, event listener