Java swing app timeout/exit after 3minutes
Posted on 2008-09-30
I have a java swing app with different buttons and features. I need assistance in writing a thread to:
Have the java app timeout and exit the java app after three minutes of not pressing any buttons in the app.
Another words, if the app goes unused for 3 minutes then exit. (Not just at the start of the app, but at any time during the use of the app that three minures have gone by since they have clicked anything.
Thank you for you help in advance.