There are others.

And BTW, windowClosing() is actually supposed to hide the window. If your idea of "close" is something else, you can use windowClosing() to change the behavior.


Also, sometimes Java library provides default implementation of the interfaces involved, which makes it easier to write your own implementation - you don't have to implement all methods.