random.java
public java v1 · immutablepublic 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(); } } } }}