java.lang.Object
util.TableUtils
Utility class for working with tables.
Available methods:
Note: The TableUtils
class has been marked as unused and has been suppressed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
printTable
(JTable table) Prints the content of the specified table.static void
saveTableToPDF
(JTable table, String filePath) Saves the content of the specified table to a PDF file.static void
Opens the specified PDF file using the default PDF viewer.
-
Constructor Details
-
TableUtils
public TableUtils()
-
-
Method Details
-
printTable
Prints the content of the specified table.- Parameters:
table
- the table to print
-
saveTableToPDF
Saves the content of the specified table to a PDF file.- Parameters:
table
- the table to savefilePath
- the path of the PDF file to save
-
viewPDF
Opens the specified PDF file using the default PDF viewer.- Parameters:
filePath
- the path of the PDF file to open
-