In this video I have demonstrated, how to use dispose() method to to close JFrame using button and also how to close all the JFrame's or close program using System.exit(). (Using eclipse IDE)
To get all the codes that I used in this video, go to both links in the below:
https://gist.github.com/Blasanka/6fc5...
https://gist.github.com/Blasanka/e1a1...
description about dispose() in oracle doc - http://docs.oracle.com/javase/6/docs/...)
Description about System.exit(0) in oracle doc - http://docs.oracle.com/javase/6/docs/...)
about `exit status` - https://en.wikipedia.org/wiki/Exit_st...
Watch video how to close JFrame using button and how to close all opened JFrame's, programmatically online without registration, duration hours minute second in high quality. This video was added by user SL Coder Ego with Coding (SL Programmer) 13 July 2017, don't forget to share it with your friends and acquaintances, it has been viewed on our site 10,311 once and liked it 29 people.