Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Printing AWT From Applet

 
Patricia Fulk
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic