JasperReport jasperReport = (JasperReport) JRLoader.loadObjectFromFile("report1.jasper");
JasperPrint jasperprint2 = JasperFillManager.fillReport(jasperReport, new HashMap(), new JRBeanCollectionDataSource(DailySalesDataSource.getBeanCollection()));
JRViewer jr = new JRViewer(jasperprint2);
JFrame jf = new JFrame();
jf.setSize(500, 500);
jf.add(jr);
jf.setVisible(true);
这样,会弹出一个窗口,点窗口上面的保存按钮时,只能保存.jrprint这个文件,请问如何激活所有保存文件类型?