Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find the End task event ?  RSS feed

 
chandra mohan
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I had a swing based application.User will login to the application ,claim some tasks and start work on those.If he closes the window all the tasks he claimed will be released and logged out of the application.So that others can work on that tasks.

If the user closes the window by ctrl+ALt+Del i.e. by end task the tasks he claimed is not getting released.Now I have to release the tasks even he closes the window by end task .Any of you please tell me how can I do that?
Basically I need to know how to capture the endtask event?
[ June 27, 2008: Message edited by: chandra mohan ]
 
Campbell Ritchie
Marshal
Posts: 55717
163
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about a WindowListener with actions for the closing or closed methods??
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!