WINDOW_CLOSE_REQUESTED

The user requested a window to be closed (e.g. clicked the close button). See Window.onCloseRequested, which also handles preventing the close.