Example #1
0
 /** wait for the thread to finish */
 public void join() throws InterruptedException {
   sucker.join();
 }
Example #2
0
 public void start() {
   sucker = new Thread(this);
   sucker.start();
 }