Posted By:
Stephen_McConnell
Posted On:
Friday, June 6, 2008 09:45 AM
Is the button in your Applet or is it in your web page.
If the button is in your Applet, you might just be out of luck, since when you print something, it is printing the image of the applet as it is rendered. You might have to have something that makes the "button" disappear from the applet when you press "print"... before you execute the printerJob.print();
If it is part of your web page outside the applet, that can be taken care of with CSS... by declaring the Media type (you can google the exact syntax) as "screen", then it will only show up when you view it in the browser, not when you print it.
Stephen McConnell