Tuesday, May 29, 2001 03:20 PM
I have a panel and I have many components on it. These are custom components like Rectangle, circle etc. I am trying to print the components on the panel. I am calling the paintComponents(pg) and to this method, I am passing the printer graphics object pg. There is a problem however when the panel has many components. I am unable to print all the components. I saw the FAQ answer but I did not understand how to use drawimage() function here. Please can anybody help me solve this problem?