How to print a JTable object in the Java application
You obviously didn’t read the links provided in your previous question. From the Printing section of How to use Tables Printing JTable provides a simple API for printing tables. The easiest way to print out a table is to invoke JTable.print with no arguments: try { if (! table.print()) { System.err.println(“User cancelled printing”); } } … Read more