I used the code below, and the code below. But it does not save the title of the Jtable lines, how to save the titles of the lines?

0

link

MessageFormat header = new MessageFormat("Report Print");

    MessageFormat footer = new MessageFormat("Page[0,number,integer]");
    try {
        table.print(JTable.PrintMode.FIT_WIDTH, header, footer);
   }catch(Exception e){
        JOptionPane.showInternalMessageDialog(null, "Unable to Print");
    }
    
asked by anonymous 31.05.2017 / 21:19

0 answers