I am going to have to implement some functionality to my application soon that timesout a swing worker based on a user dictated length.
I was wondering if i could extend the swingworker class and add my own time out countdown inside, for example i could override the dowork method, call startCountdown() then call super.dowork and then keep checking if the timeout has been exceeded?
I was wondering if there were a better solution that this approach? Thanks