This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes Applets and the fly likes Java applet error on webpage Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Java applet error on webpage" Watch "Java applet error on webpage" New topic

Java applet error on webpage

Matthew Vaughan

Joined: Dec 30, 2010
Posts: 1
Here is the code:

How I display the applet:

<APPLET CODE="Slideshow.class" WIDTH=500 HEIGHT=600>


Error I get on web page:

at com.sun.deploy.util.DeployAWTUtil.invoke… Source)
at sun.plugin2.applet.Plugin2Manager.runOnE… Source)
at sun.plugin2.applet.Plugin2Manager.create… Source)
at sun.plugin2.applet.Plugin2Manager$Applet… Source)
at Source)
Caused by: access denied ( . read)
at… Source)
at… Source)
at java.lang.SecurityManager.checkPermissio… Source)
at java.lang.SecurityManager.checkRead(Unkn… Source)
at Source)
at Source)
at Slideshow.<init>(
at sun.reflect.NativeConstructorAccessorImp… Method)
at sun.reflect.NativeConstructorAccessorImp… Source)
at sun.reflect.DelegatingConstructorAccesso… Source)
at java.lang.reflect.Constructor.newInstanc… Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$… Source)
at java.awt.event.InvocationEvent.dispatch(… Source)
at java.awt.EventQueue.dispatchEvent(Unknow… Source)
at java.awt.EventDispatchThread.pumpOneEven… Source)
at java.awt.EventDispatchThread.pumpEventsF… Source)

In the directory of the webpage, i have one picture, and the two class files for the two java files. I think it may have something to do with the fact that depends on the other
Paul Clapham

Joined: Oct 14, 2005
Posts: 19760

You didn't sign the applet, did you?
I agree. Here's the link:
subject: Java applet error on webpage
It's not a secret anymore!