« Return to Thread: how to stop org.jdesktop.application.Task started using @Action public Task?

how to stop org.jdesktop.application.Task started using @Action public Task?

by Mike-Mike :: Rate this Message:

Reply to Author | View in Thread

Hello
I am using org.jdesktop.application.Task from NetBeans 6 in my app.
I start Task with jButton using @Action:
@Action public Task startClusteringTask()
{
        ...
        return myTask;
}

Is there any way to stop this task when it is running?
Thank you in advance
Mike

 « Return to Thread: how to stop org.jdesktop.application.Task started using @Action public Task?