}
public void testReport(String outputfilename, boolean header, String headertitle, boolean footer, String footertitle) {
ProductReport dataObjectReport = new ProductReport("Product Report", productDBFormat, productDB, outputfilename, header, footer);
dataObjectReport.setHeader(headertitle);
dataObjectReport.setFooter(footertitle);
try {
dataObjectReport.generateReport();
} catch (AppException ex) {
Logger.getLogger(TestProduct.class.getName()).log(Level.SEVERE, null, ex);
}
dataObjectReport = null;