How to wire Swing DISPOSE_ON_CLOSE to menu bar option...

Posted by des on Stack Overflow See other posts from Stack Overflow or by des
Published on 2010-03-11T22:41:13Z Indexed on 2010/03/12 3:17 UTC
Read the original article Hit count: 140

Filed under:
|

So I want to have an "Exit" option on my menubar, NP. The JFrame already has the DISPOSE_ON_CLOSE in it's setDefaultCloseOperation method. I've looked around and have yet to find what I believe is a good example... What's a good or right way? A little help please!

As Always...

© Stack Overflow or respective owner

Related posts about java

Related posts about swing