Creating Image that can print?
Posted on 1998-05-15
Hi, I have an applet that creates an image using "Image img = m_Applet.createImage(x, y);". I then draw into this image (using a Graphics from the image). I can use this image in the paint method but in print method the image does not show up (print simply calls paint). I know that the print method is being called (added System.out.println message). I suspect that the problem is that the image was created within the context of the Applet and is not proper for use in a print job (color applet / mono printer idea). Other images that are loaded from a URL print fine (there are 24 of these images, creating the image on the fly is faster than downloading them). Any ideas on how to get this image to print? Thanks.