The other listener class extends the WindowAdapter class.
The WindowAdapter class implements the WindowListener interface, and
The listener class can get by with