This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find the End task event ?

 
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: 52636
119
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How about a WindowListener with actions for the closing or closed methods??
 
It is difficult to free fools from the chains they revere - Voltaire. tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!