[concurrency-interest] Question on GUI Applications
tim at peierls.net
Tue Aug 15 12:26:38 EDT 2006
Those examples are mainly to illustrate various techniques; they aren't
meant to be used directly (they are all private methods). For production
systems, you probably want to use the SwingWorker utility. It's standard
with Java 6, but if you can't wait that long, the BackgroundTask class from
JCiP chapter 9 is a reasonable stop-gap measure -- it has a cancel method
and a get with timeout method. It hasn't been tested seriously, however, so
proceed with caution and please let us know of any problems you find with
On 8/13/06, Amarnath Nanduri <amar_nan at yahoo.com> wrote:
> Was anybody successful in using the ListenerExamples.java from the book
> "Java Concurrency in Practise" in chapter 9? I am trying to use it to
> display information from a Database, while giving the end user the option to
> cancel if it takes too much time. I would appreciate a full blown example in
> using the classes from this chapter.
> Do you Yahoo!?
> Everyone is raving about the all-new Yahoo! Mail Beta.<http://us.rd.yahoo.com/evt=42297/*http://advision.webevents.yahoo.com/handraisers>
> Concurrency-interest mailing list
> Concurrency-interest at altair.cs.oswego.edu
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Concurrency-interest