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