Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing JTree

 
keerthi matta
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I have a problem in Printing the whole hierarchy of JTree,
I am using awt PrinterJob, i am able to print only one page, even though the hierarchy exceeds one page,
Thank u
keerthi
 
Anamika Singh
Ranch Hand
Posts: 67
IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this chapter .It tells how u can print multiple pages .If any further help is needed pls let me know.
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/advprint.html
This link would also be helpful
http://www.spindoczine.com/sbe/files/uts2/Chapter22html/Chapter22.htm
[ July 04, 2002: Message edited by: Anamika Singh ]
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!