Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Component prints incorrectly to printer (OK on screen)  RSS feed

jen kat
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ive written a Component class which sits inside a frame. It displays on the screen perfectly.. but when I try to print it (to printer), the print diaplog box comes up ok, but half the data doesnt print!
The same paint method is used to print to screen as is used to print to paper.
I only want to print the Component - not the frame etc. Everything is contained within my Component class including the print methods..
I use the following methods to do my printing:

The class extends printable
The printJewel method is called by an key listener
I may be doing this the wrong way... but any help would be appreciated!!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!