1 9 10 package org.nfunk.jepexamples; 11 12 13 19 public class ThreadTestThread extends Thread  20 { 21 ThreadTest test; 22 23 public ThreadTestThread(ThreadTest test_in) 24 { 25 test = test_in; 26 } 27 28 public void run() { 29 try { 30 Thread.sleep(1); 31 test.evaluate(); 32 Thread.yield(); 33 } catch (Exception e) { 34 System.out.println(e.getMessage()); 35 } 36 } 37 } 38 | Popular Tags |