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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Tasks Inherit the <strong>Swing</strong>Worker API●●●Task isa <strong>Swing</strong>Worker isa Future●●Futures compute a value on thread<strong>The</strong>y can be canceled/interrupted<strong>Swing</strong>Worker adds:●●●EDT done() and PropertyChange methodsPublish/process for incremental resultsProgress property percent completeTasks add…2007 <strong>Java</strong>One SM Conference | Session TS-3942 | 48

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

Saved successfully!

Ooh no, something went wrong!