wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: SwingWorker interrupt method not working
 
Similar Threads
Gui refresh
Removing threads from my thread pool
Swing process won't die
Swing appears to Freeze
Would you use SwingWorker in an applet? Problem with Java 1.5 browser plugin