• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing of JComponent  RSS feed

 
RAJEEV BAHL
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to preview or print the same Component using PrinterJob and Printable.print method. I am able to preview or print if I uses Graphics2D.draw method but not succeeded with JTextPane.paint/JTextPane.repaint or JTable.paint/JTable.repaint methods. Please tell me how to preview or print them.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!