title: Deprecated methods in JasperReport
body: <p>I am using a <code>jasperreports-6.1.0.jar</code>, and there are some deprecated methods in class <code>JRPrintServiceExporterParameter</code>. </p>
  
  <p>How do I find out what method or class am I supposed to use? </p>
  
  <p>How do I find out if it's safe to just use deprecated methods?</p>
  
  <p>EDIT:</p>
  
  <p>this is the deprecated part of my code:</p>
  
  <pre><code>exporter = new JRPrintServiceExporter();
          exporter.setParameter(JRExporterParameter.JASPER_PRINT, jasperPrint);
          exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE, printService[selectedService]);
          exporter.setParameter(JRPrintServiceExporterParameter.PRINT_SERVICE_ATTRIBUTE_SET, printService[selectedService].getAttributes());
          exporter.setParameter(JRPrintServiceExporterParameter.PRINT_REQUEST_ATTRIBUTE_SET, printRequestAttributeSet);
          exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PAGE_DIALOG, Boolean.FALSE);
          exporter.setParameter(JRPrintServiceExporterParameter.DISPLAY_PRINT_DIALOG, Boolean.FALSE);
          exporter.exportReport();
  </code></pre>