All pastes #594815 Raw Edit

random.java

public java v1 · immutable
#594815 ·published 2007-06-29 03:25 UTC
rendered paste body
public class random implements Runnable{public int random;public int maxRandom;public int delay = 500; //Time before new number is Generated.        public void run(){        while(true){        for(random = 0;random<maxRandom;random++){         try {                Thread.sleep(delay);            } catch (InterruptedException e) {                e.printStackTrace();            }        }        }    }}