All pastes #965292 Raw Edit

Mine

public text v1 · immutable
#965292 ·published 2008-03-31 21:52 UTC
rendered paste body
public class Test
{
  
  public float Ptr;
  public boolean Boo1;

  public Test()
  {
      Ptr = 00.0f;
      Boo1 = true; 
  }
  
   public void run()
   {
       while (Ptr <= 99.9f && Boo1 == true)
             {
              try {
                   Thread.sleep(1000);
                   
                   //1000 millisecs
                  }
              catch(InterruptedException ex) {
                  } 
                Ptr =+ 0.1f;   
             }
     }
   
   public void stop()
   {
       Boo1 = false;
   }
}