public String call() {
             return searcher.search(target);
         }});
     displayOtherThings(); // do other things while searching
     try {
       displayText(future.get()); // use future
     } catch (ExecutionException ex) { cleanup(); return; }
   }
 }}</pre>

 The <code><a href="../../../../reference/java/util/concurrent/FutureTask.html">FutureTask</a></code> class is an implementation of <code>Future</code> that
 implements <code>Runnable</code>, and so may be executed by an <code>Execut