I have some string data that needs to be printed inside a table in java. Simply formatting the text is not enough, I need to actually draw the lines of the table, have a title, header, and footer.
From my searches I found that java.swing.JTable would fulfill my conditions, however I do not need to show the table to the user at any point nor do I need to save the table in a file. I only need to print said table via a printer and JTable seems overkill for such a task, not to mention rather complicated.
Is there a better alternative for this task?
Edit: Yes, I need to print this to a Printer device. The table is fairly simple, this is an example of it. Table to output example