import javax.management.monitor.Monitor; public class HovedprogramMonitor { public static void main(String[] args) { MonitorArray monitor = new MonitorArray(100); for(int i = 0; i < 5; i++){ new Thread(new TraadSettInn(i, monitor)).start(); } } }