Forums Register Login

Printing AWT From Applet

+Pie Number of slices to send: Send
Hello all,
I am trying to print a panel from an applet, but it isn't working. All I get is a blank page. I am using the print utility that someone had suggested to someone else on this site. I am trying to call the utility with the following:
PrintUtilities.printComponent(aPanel);
Where aPanel is a panel with different awt components on it, i.e. TextArea, TextField, Label, etc.
Can someone tell me what I am doing wrong?
Thanks for the help in advance,
Trish

The print utility code is as follows:
That new kid is a freak. Show him this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 715 times.
Similar Threads
Printing TextArea which span more than 1 page
Printing multiple pages!
Printing
Print a JTextArea
Print Preview in Java swing
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 09:04:55.