/**
   * <CODE> MarketingGUI</CODE> is the graphical interface for the marketing portion of the system.
   * It shows statistics for all of the machines available or for individual machines. Their is also
   * a marketing graph available to show graphical statistics of the system.
   */
  public MarketingGUI(MarketingManager manager) {
    // setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
    this.manager = manager;
    numberOfMachines = manager.getNumberOfVendingMachines();

    // setSize(600, 400);
    // mainLayout.removeAll();
    // setSize(600, 400);
    // sets the title
    setTitle("Marketing Interface for machine ID ");
    setResizable(true);
    setSize(1000, 700);
    globalVendScreen();
    add(mainLayout);
    setVisible(true);
  }