Report question

Question: How to close a Java Swing application from the code