DISPOSE « Menu « Java Swing Q&A





1. How to wire Swing DISPOSE_ON_CLOSE to menu bar option    stackoverflow.com

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 ...