Table of contents
Chapter index
Previous slide
Next slide
437
Shutting down a program script
Writing program scripts with Java
Shutting down a program script
The optional
shutdown
method is called when the script is unloaded
public void shutdown ( ) { . . . }
Shutdown occurs when:
the
Script
node is deleted
the browser loads a new world