Scratch for Java

Stage::exit()

Close the window and therefore the whole application.

Syntax

Java

.exit()

Return

void

exit()