• Post Reply Bookmark Topic Watch Topic
  • New Topic

Printout of JFrame

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In my project my final output comes on a JFrame . Now I just want to give a button for print . whenever user press that button he will have the printout of that JFrame .

Plz any body help me out ???
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Plz reply .
It should not hard for u .
bye
 
Ben Wood
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at http://www.apl.jhu.edu/~hall/java/Swing-Tutorial/Swing-Tutorial-Printing.html. Marty Hall has a PrintUtilities class that provides a method you can us and call something like

 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u very much ban .
now i will complete my project before deadline !!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!