title: How to set the session timeout in a standalone Swing application?
body: <p>I have a stand alone swing application. In that I want to invalidate the session as how it does in web applications.</p>
  
  <p>How to set the session timeout in a standalone Swing application?</p>