首页新闻找找看学习计划

java.lang.SecurityException: checkPrintJobAccess??

0
悬赏园豆:5 [已解决问题] 解决于 2018-02-25 11:46
java打印出现异常,什么原因???

basic: Starting applet
basic: completed perf rollup
basic: Dialog type is not candidate for embedding
java.lang.SecurityException: checkPrintJobAccess
at sun.plugin2.applet.SecurityManagerHelper.showPrintDialog(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper.access$000(Unknown Source)
at sun.plugin2.applet.SecurityManagerHelper$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.SecurityManagerHelper.checkPrintJobAccessHelper(Unknown Source)
at sun.plugin2.applet.AWTAppletSecurityManager.checkPrintJobAccess(Unknown Source)
at java.awt.print.PrinterJob.getPrinterJob(Unknown Source)
at print.PanskyPrint.print(PanskyPrint.java:33)
at print.TestPrintApplet.start(TestPrintApplet.java:44)
at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
basic: 已删除进度监听程序: sun.plugin.util.ProgressMonitorAdapter@eaa683
security: 重置拒绝会话证书存储
testewr的主页 testewr | 初学一级 | 园豆:3
提问于:2016-09-08 10:29
< >
分享
最佳答案
0

java打印包有问题

testewr | 初学一级 |园豆:3 | 2018-02-25 11:46
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册