Package util

Class TableUtils

java.lang.Object
util.TableUtils

public class TableUtils extends Object
Utility class for working with tables.

Available methods:

Note: The TableUtils class has been marked as unused and has been suppressed.

  • Constructor Details

    • TableUtils

      public TableUtils()
  • Method Details

    • printTable

      public static void printTable(JTable table)
      Prints the content of the specified table.
      Parameters:
      table - the table to print
    • saveTableToPDF

      public static void saveTableToPDF(JTable table, String filePath)
      Saves the content of the specified table to a PDF file.
      Parameters:
      table - the table to save
      filePath - the path of the PDF file to save
    • viewPDF

      public static void viewPDF(String filePath)
      Opens the specified PDF file using the default PDF viewer.
      Parameters:
      filePath - the path of the PDF file to open