I am trying to implement a SwingWorker class within my application. Is there a way to set a length of time that after which, the SwingWorker \"times out\"? I
Why not embed your task within a Runnable, drop it into a new single-threaded ExecutorService and then perform a get() on the resulting Future with an appropriate timeout. That would give you your timeout functionality, since get() will throw an exception if the job doesn't complete in time.