FocusExample
-- responding to got-focus and lost-focus events.
Experiment:
Click in text fields.
Press tab or shift-tab.
Type in a text field and hit return/enter.
Press a button.
The source.