Window::exit()
Exits the application by invoking the whenExits method and then calling the
exit method on
the Applet instance.
Syntax
Java
.exit()
Return
void

Exits the application by invoking the whenExits method and then calling the
exit method on
the Applet instance.
.exit()
void