Wednesday, November 28, 2012

Java Exercise #67: Handling Window Events

Any subclass of a Window class can fire window events: window opened, window closed, window closing, window activated, window deactivated, window iconified and window de-iconified. This program creates a frame that listens to the window event and displays the message.

Exercise: Write a program that demonstrates Window Events and Window Listener


Window Activated
Window Opened
Window Iconified
Window Deactivated
Window Deiconified
Window Activated
Window Deactivated
Window Iconified



Download Code: Window Event Demo

No comments:

Post a Comment