I am facing a typical problem while I am printing my JPanel. My Panel is added to the JScrollPane.And I added 200 Images to the JPanel (20 rows and 10 columns). To see the 6,7,8,9,10 Images I have to scroll it left side and for 80 to 200 images I have to scroll down. Now if i print my JPanel it is only printing the Images those are visible to the user at a time. If scroll down and say print again it is printing the bottom components and missing Top components (Images). I want to print all the images at a time. Can any body suggest me how to do it. My Panel implements Printable interface and the following is the print method that I implemented
public int print(Graphics g, PageFormat pageFormat, int pageIndex) {