add event to action listener without deleting default action?
<p>I would like to make it so that when i close my GUI it will run a method in my main class but then also close after? </p>

<p>please help thanks </p>
