Important Method Signatures
Using SwingWorker, you are benefiting from work that went into the JSR 166 (Concurrency Utilities). SwingWorker makes internal use of the java.util.concurrent package. SwingWorker implements Future by delegating it to an internal instance of a FutureTask object. Here are some of the method signatures from the Future interface that you will want to know about.
Built for the Future
If you were happy with the original SwingWorker, then you should enjoy the new power and flexibility of the the new SwingWorker. If you would like more information about using the SwingWorker, The Java(tm) Tutorial has been updated to include a section on the javax.swing.SwingWorker.
Dan Andrews is the President of Ansir Development Limited. He has been a Sun Certified Programmer for the Java(tm) 2 Platform since 1999. Prior to founding Ansir Development Limited in 2005, Dan worked at SED Systems as a programmer analyst. At SED, he worked on building large Swing applications which help control some of the world's largest satellite networks and deep space antennas.
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.
|