Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Print complete UI.

 
pawan chopra
Ranch Hand
Posts: 417
jQuery Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to print my swing UI. Results are not correct I am not able to see complete result in print. It doesn't print any thing which needs scroll. Another thing is if we see from the width of the UI it doesn't cover the complete width. I am using following code:



Can any one help me on that? Let me know if there is a better way to do this.
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
somewhere on sun/oracle's site there's an article/tutorial on advanced printing which should give you some pointers.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic