public synchronized void displayDequeue(int queueIndex, Process process) {
   osgui.dequeue(queueIndex, process.getName());
   System.out.println(
       "DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDdqueue!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! "
           + process.getName());
 }
 public synchronized void dislayEnqueue(int queueIndex, Process process) {
   // display in the queue in the GUI
   osgui.enqueue(
       queueIndex, process.getName(), process.getRemainingServiceTime(), process.getServiceTime());
 }