Events fired by a Frame
Frames are capable of generating following types of window events:
- WindowOpened
- WindowClosing
- WindowClosed
- WindowIconified
- WindowDeiconified
- WindowActivated
- WindowDeactivated.
Frame object is GUI object that we might refer
to as window or form in another environment.