Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Printing from Applet  RSS feed

 
Rames Raja
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am trying to print a table from an applet.
I am getting an access accessControlException.
How do I solve this problem ??
Thanks
Ramesh
 
Chris Shepherd
Ranch Hand
Posts: 286
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know anything about making/using applets, I'm just an app guy.
With that said, I thought the key to applets was that they couldn't touch the hardware beyond just displaying inside the browser. If thats the problem here, you will have to rely on the browser's print function after you display the table you want printed on the screen. The user would have to call that print function manually. You couldn't call it from your applet.
HTH
 
Tim Holloway
Bartender
Posts: 18531
61
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Printing is forbidden by the Java sandbox. Believe it or not, Evil Things can be done with print requests.
In order to get an applet to print, you have to set up the appropriate applet security and then digitally sign the applet.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!