1 package ubc.midp.mobilephoto.core.threads; 
  2  
  3 /** 
  4  * Base Thread class. Most commands will execute within a thread (to avoid screen 
  5  * contention and hardware interrupts).  
  6  * At the moment, there is no useful functionality beyond what Runnable already provides. 
  7  * But we may wish to add some parent features in later. 
  8  */ 
  9 public class BaseThread implements Runnable { 
 10  
 11   /** 
 12    * Constructor 
 13    */ 
 14   public BaseThread() { 
 15  
 16     System.out.println("BaseThread:: 0 Param Constructor used: Using default values"); 
 17   } 
 18  
 19   /** 
 20    * Start the thread running 
 21    */ 
 22   public void run() { 
 23  
 24     System.out.println("Starting BaseThread::run()"); 
 25  
 26     System.out.println("Finishing Baseathread::run()"); 
 27      
 28   } 
 29 }    
    |