Chapter 9. Events and Event Handling

If you've been reading the chapters of this book in order, at this point you know how to construct a visible GUI with components arranged just the way you want. But your GUI still doesn't really do anything. Your application doesn't as yet respond to external actions.

In order for an application to do anything meaningful, it must be able to respond to events. This process is called event handling. This chapter discusses events and event handling. In it, you will learn exactly how to make your program capable ...

Get Java GUI Development: The Authoritative Solution now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.