public class TelleTraad implements Runnable{ private int id; private Monitor monitor; public TelleTraad(int id, Monitor monitor){ this.id = id; this.monitor = monitor; } @Override public void run(){ for(int i = 0; i < 9; i++){ monitor.leggTil(id); } } }