Code: Exit ButtonCode
10:59 AM
Kalpa
, Posted in
java
,
0 Comments
I use above example for show that. There have Exit button(jButton2). When you press Exit button it should close the forms. To that there have another simple code.
First double click on the exit button(or right click >> Event >> actionPerformed). Now it show the relevant methode. Then type this code.
this.dispose();
Now its OK. If you press Exit button it will close. Amazing....
You can leave a response, or trackback from your own site.
0 Response to "Code: Exit ButtonCode"
Post a Comment