posted 17 years ago
Hi. I've been reading all sorts of examples on printing Swing components, and they all say the same thing. In the print method, they check to make sure the page index == 0. I cannot figure out why this is. What if I have a component that takes up multiple sheets of paper, can I not print it?
Also, when I display the print dialog (using PrinterJob's printDialog method), it always defaults to showing pages 1-9999, rather than limiting it to the actual number of pages?
Can someone explain these two issues to me?
Thank you,
Jeff