How to close JFrame from code

The close () in JFrame unfortunately does not exist. Nevertheless, we can easily form close.




The first method described only invisible form. We can work with him in the future. The second method invisible form and releases all used resources.

This entry was posted in Java. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>