11.07.2015 Views

JSR-296: The Swing Application Framework - Java

JSR-296: The Swing Application Framework - Java

JSR-296: The Swing Application Framework - Java

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Tasks: Completion●●<strong>Swing</strong>Worker.done overrides can be tricky●●call <strong>Swing</strong>Worker.get() for exceptioncheck for cancellation, interruptionTask completion methods:protected void succeeded(T result)protected void failed(Throwable cause)protected void cancelled()protected void interrupted(InterruptedException e)protected void finished()2007 <strong>Java</strong>One SM Conference | Session TS-3942 | 50

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!