aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes SwingWorker interrupt method not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "SwingWorker interrupt method not working" Watch "SwingWorker interrupt method not working" New topic
Author

SwingWorker interrupt method not working

Raghav Sam
Ranch Hand

Joined: Apr 12, 2001
Posts: 412
I am using the SwingWorker class for managing threads in my Swing app. While the worker thread is running I want to interrupt it based on a button click (user input). However the worker runs uninterrupted! How do I interrupt the worker?
[ May 09, 2002: Message edited by: Raghav Sam ]

Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind.<br />- Dr. Seuss
 
 
subject: SwingWorker interrupt method not working