• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Printing AWT From Applet

 
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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:
 
reply
    Bookmark Topic Watch Topic
  • New Topic