package nomadgui;

import nomadgui.state.*;

class linkTestThread extends Thread {
  RSPFrame rframe;

  linkTestThread(RSPFrame r) {
    rframe = r;
  }

  public void run() {
    float x;
    
    for(x=692; x>85; x-=5) {
      rframe.setLinks(x, x);
      try {
 	this.sleep(10);
      } catch(InterruptedException e) {
 	System.out.println(e);
 	System.exit(0);
      }
    }

    for(x=85; x<692; x+=5) {
      rframe.setLinks(x, x);
      try {
	this.sleep(10);
      } catch(InterruptedException e) {
	System.out.println(e);
	System.exit(0);
      }
    }
  }
}
