title: How do you set the JRViewer export options?
body: <p>Recently I updated my project with the newest jasper-reports lib.
  There is a new JRViewer class (net.sf.jasperreports.swing) which replaced the old one (net.sf.jasperreports.view). Now I can't figure out how to set the export options. The old code was like:</p>
  
  <pre><code>JRPdfSaveContributor pdf = new JRPdfSaveContributor(locale, resBundle);
  JRRtfSaveContributor rtf = new JRRtfSaveContributor(locale, resBundle);
  JRSingleSheetXlsSaveContributor xls = new JRSingleSheetXlsSaveContributor(locale, resBundle);
  JRDocxSaveContributor docx = new JRDocxSaveContributor(locale, resBundle);
  viewer.setSaveContributors(new JRSaveContributor[] { pdf, rtf, xls, docx });
  </code></pre>