public class P2_PrinterHead{ private char mode = 'M'; private String jobId; private int timeRemaining = 0; private int id; public P2_PrinterHead(int idInput) { //Nothing to set up. id = idInput; } public synchronized void print(P2_Jobs jobInput, int[] time) { //Set the details of the current job jobId = jobInput.getId(); mode = jobInput.getJobType(); int startTime = time[0]; //Wait (and delay the thread) one second per page of the job for(int i = 0; i