SyntaxFix
Write A Post
Hire A Developer
Questions
You may use Window#dispose() method to release all of the native screen resources, subcomponents, and all of its owned children.
The System.exit(0) will terminates the currently running Java Virtual Machine.
System.exit(0)