title: Java(JFrame.EXIT_ON_CLOSE) Remove users from Combo box on EXIT?
body: <p>I am trying to remove a user from a combo box once he decides to exit the main Frame. Does anyone have an idea how I can possibly detect it? I have got some other buttons which detect when a new user logs in or logs out and respectively they are removed from the combo box, but I can't figure how to get it working when a user just exits the main Frame.</p>
  
  <p>Thank you in advance!
  Happy Holidays!</p>
  
  <p><strong><em>EDIT</em></strong></p>
  
  <p><strong>WindowAdapter</strong> allows overriding whatever method related to the frame you may need.
  This answers my question! Thanks everyone!</p>