This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes SwingWorker interrupt method not working Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SwingWorker interrupt method not working
 
Similar Threads
Would you use SwingWorker in an applet? Problem with Java 1.5 browser plugin
Removing threads from my thread pool
Swing process won't die
Gui refresh
Swing appears to Freeze