Window::whenExits()
This method is called when the window exits. Override this method to define custom behavior when the window is closed.
Syntax
Java
.whenExits()
Return
void

This method is called when the window exits. Override this method to define custom behavior when the window is closed.
.whenExits()
void