??????????????????
??????????????????
??????????????????
??????????????????
??????????????????
Chill out with the question marks !!!
The way printing works when using Graphics2D objects, as far as I know, is that you can only print using the visible part of the Graphics device. I believe this is because only the viewbale area is rendered at any one time - no point in using up memory rendering an area which you cannot see !
So, you must either make the the non-viewbale scrollpane area viewable, and print it that way, or use another API to extract the data from the Graphics device, and transform this to some other format so you can print it.
You may want to look at Batik and/or Cocoon which renders Graphics devices to SVG, and FOP which can create PDFs from several formats.
??????????????????
??????????????????
??????????????????
??????????????????
??????????????????