Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Abarrane Cohen   on Sep 05 In Java Category.

  
Question Answered By: Archana Kamble   on Sep 05

You will have to call table.print() without parameter.

see the code below:


try {
boolean complete = table.print();
if (complete) {
/* show a success message */
...
} else {
/*show a message indicating that printing was cancelled */
...
}
} catch (PrinterException pe) {
/* Printing failed, report to the user */
...
}

Share: 

 
 
Didn't find what you were looking for? Find more on printing a swing component Or get search suggestion and latest updates.


Tagged: