Chapter 9 · Simulation
Swing Layout Managers
JFrame
1. Mousethe OS reports the click
2. EventQueuethe event enters the queue
3. EDTthe event dispatch thread takes it
4. ActionEventthe button creates an event
5. ListeneractionPerformed(e)
Chapter 9 · Simulation