// start button
 public void actionPerformedStart(ActionEvent ae) {
   System.out.println("Start button clicked");
   // start the supermarket
   // simulation = new Simulator();
   if (simulation.isDone()) {
     System.out.println("Run another time???");
   } else if (simulation.getState() == StateValue.STARTED) {
     System.out.println("Simulation is running, close and start a new one?");
   } else {
     simulation.execute();
   }
 }
 // stop button
 public void actionPerformedStop(ActionEvent ae) {
   System.out.println("Stop button clicked");
   simulation.stop();
 }