I think the pattern used in such cases is that you register a progress
callback and at the callback you either can return a boolean value to tell
the progress to stop or call directly the object that's doing the progress
and tell it to stop (does MovieExporter have some "Cancel" or "Stop" method
or something?). See Chris' book on movie progress - maybe has sample code on
the book website
> How do I cancel an export?
> MovieExporter exporter = new ...
> I don't see a cancel method. Do I put the toFile() in a separate thread
> and kill the thread? Ouch!
> Some user will start an export of a huge movie and want to cancel.
> Do not post admin requests to the list. They will be ignored.
> QuickTime-java mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> This email sent to email@hidden
Do not post admin requests to the list. They will be ignored.
QuickTime-java mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden