public void setLogoPath(String logoPath) {
   this.logoPath = logoPath;
   if (!logoPath.isEmpty()) {
     Media media = new Media();
     for (int index = 0; index <= Mechs.size() - 1; index++) {
       PrintMech pm = (PrintMech) Mechs.get(index);
       pm.setLogoImage(media.GetImage(logoPath));
     }
   } else {
     for (int index = 0; index <= Mechs.size() - 1; index++) {
       PrintMech pm = (PrintMech) Mechs.get(index);
       pm.setLogoImage(null);
     }
   }
 }
  private Boolean BatchDialog() {
    dlgPrintSavedMechOptions POptions =
        new dlgPrintSavedMechOptions((javax.swing.JFrame) Parent, true);
    POptions.setTitle("Printing Batched Units");
    POptions.setLocationRelativeTo((javax.swing.JFrame) Parent);

    if (!this.logoPath.isEmpty()) {
      POptions.setLogo(new File(this.logoPath));
    }

    POptions.setVisible(true);

    if (!POptions.Result()) {
      return false;
    }

    for (int m = 0; m <= Mechs.size() - 1; m++) {
      PrintMech pMech = (PrintMech) Mechs.get(m);
      pMech.setPrintPilot(POptions.PrintPilot());
      pMech.setCharts(POptions.PrintCharts());
      pMech.setMechImage(POptions.getImage());
      pMech.setLogoImage(POptions.getLogo());
      pMech.setCanon(POptions.getCanon());
      if (POptions.UseMiniConversion()) {
        pMech.SetMiniConversion(POptions.GetMiniConversionRate());
      }
    }

    POptions.dispose();
    return true;
  }
  private Boolean PrintDialog(PrintMech pMech) {
    dlgPrintSavedMechOptions POptions =
        new dlgPrintSavedMechOptions((javax.swing.JFrame) Parent, true, pMech);
    POptions.setTitle("Printing " + pMech.CurMech.GetFullName());
    POptions.setLocationRelativeTo((javax.swing.JFrame) Parent);

    POptions.setVisible(true);

    if (!POptions.Result()) {
      return false;
    }

    pMech.setPrintPilot(POptions.PrintPilot());
    pMech.setCharts(POptions.PrintCharts());
    pMech.setGunnery(POptions.GetGunnery());
    pMech.setPiloting(POptions.GetPiloting());
    pMech.setMechwarrior(POptions.GetWarriorName());
    pMech.setMechImage(POptions.getImage());
    pMech.setLogoImage(POptions.getLogo());
    pMech.setCanon(POptions.getCanon());
    if (POptions.UseMiniConversion()) {
      pMech.SetMiniConversion(POptions.GetMiniConversionRate());
    }
    if (POptions.UseA4Paper()) {
      pMech.setA4();
    }

    POptions.dispose();
    return true;
  }