Section 22.3 Understanding Windows in Java

• A window’s (p. 916) events can be handled by a WindowListener (p. 917), which provides seven window-event-handling methods—windowActivated, windowClosed, windowClosing, windowDeactivated, windowDeiconified, windowIconified and windowOpened.

Get Java™ How To Program (Early Objects), Tenth Edition 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.