I have an application that nakes a window on the scree using AWT. If the user closes the screen by clicking top right X, I can fnd nothing that tells my application that the screen has been closed. The usual listener
winListener = new WindowAdapter() {
.....
}
addWindowListener( winListener );
then winListener doesn't get called when they close the window.
I don't care that this mechanism doesn't seem to work, but there must be some event that will tell me. Can you help me ?
I have an application that nakes a window on the scree using AWT. If the user closes the screen by clicking top right X, I can fnd nothing that tells my application that the screen has been closed. The usual listener
winListener = new WindowAdapter() {
addWindowListener( winListener );
then winListener doesn't get called when they close the window.
I don't care that this mechanism doesn't seem to work, but there must be some event that will tell me. Can you help me ?