Jump to content


Photo

[5.1] Cancel button not working


  • Please log in to reply
1 reply to this topic

#1 Orions_Stardom

Orions_Stardom
  • Gibberlings
  • 206 posts

Posted 11 February 2007 - 07:37 PM

The 'Cancel' button that I introduced with the change to using javax.swing.SwingWorker isn't working - it calls SwingWorker.cancel(true); which *should* interrupt anything that's being done, but it doesn't appear to. Forcing it to keep trying until cancel() returns 'true' (indicating that it has been cancelled) doesn't change anything.

#2 Orions_Stardom

Orions_Stardom
  • Gibberlings
  • 206 posts

Posted 11 February 2007 - 09:13 PM

I have added checks to isCancelled() in the cloning logic, which appears to have fixed this. It won't cancel until it finishes copying the current file, but that should not be a problem once the recursion problem is fixed.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users