How can I copy the headers along with the table data in a JTable?

Printable View