I have created a report by using JTable in a JPanel, I want to print the contents of JPanel. could you guys pls help me to do this?.
I did use
PrinterJob printJob = PrinterJob.getPrinterJob();
But I am getting the error message:
ReportUI.java [648:1] cannot resolve symbol
symbol : method setPrintable (ReportUI)
location: class java.awt.print.PrinterJob
what will be the peoblem?.