jframe-dispose-method

JFrame dispose method

JFrame.dispose() is used to  destroy JFrame window and clean it up from the operating system.Read also more about System.exit(0)

Output

jframe-dispose-method

About the Author: Eric K

Kenyan Developer and Blogger with Interests in Java,Javascript,Node.js, Wordpress, Android, PHP and Making Money Online. Solving world problems through programming is my passion. Hire me: Email : kawi3462@gmail.com