It is probably a stupid question but, does Java Plugin come with the JDK
1.3.1? I'm looking through my installation and can't find it!
--
-----------------------------------------------------------------
Gustavo Seabra - Graduate Student
Chemistry Department
Kansas State University
-----------------------------------------------------------------
Yes, it does. What, exactly, are you looking for? There's a control
panel interface to control the config details on things like caching...
but aside from that, there's no visible effect to installing the plugin
aside from applets that have been run through HTMLConverter actually
working.
Chris Smith
Ok. But after I convert files with the HTMLConverter, they are NOT working!
I can see them ok with the appletviewer. After the conversion, I get two
copies running when I use the appletsviewer, both running ok. But, if I try
in i.e. or netscape, i reveive: "applet ______ non-initialized"
Any ideas on waht may be wrong?
Gustavo.
"Chris Smith" <cds...@twu.net> wrote in message
news:MPG.15faee6c9...@news.altopia.com...
**********************
java.security.AccessControlException: access denied (java.io.FilePermission
right1.gif read)
at java.security.AccessControlContext.checkPermission(Unknown Source)
at java.security.AccessController.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkPermission(Unknown Source)
at java.lang.SecurityManager.checkRead(Unknown Source)
at sun.awt.SunToolkit.getImageFromHash(Unknown Source)
at sun.awt.SunToolkit.getImage(Unknown Source)
at PetePanel.<init>(PeteApplet.java:32)
at PeteApplet.<init>(PeteApplet.java:5)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
**********************
Would you have any idea what may causing it?
Gustavo Seabra.
> java.security.AccessControlException: access denied (java.io.FilePermission
> right1.gif read)
> Would you have any idea what may causing it?
>
Yes. You are trying to read from a file on the local filesystem. Even
with the plugin, security safeguards are still in place.
It looks like you're trying to load some kind of icon or the like for
use in the user interface. Use resources as a way of retrieving small
data files that your applet or application depends on, which will load
from the web server when running an applet, or from the local disk when
running an application.
For details on resources, see the getResource method in Class and
ClassLoader.
Chris Smith
"Gustavo Seabra" <gse...@swbell.net> wrote in message
news:Xabk7.1911$RF6.66...@newssvr11.news.prodigy.com...
Thanks a lot to all that answered!
Gustavo Seabra.
http://home.swbell.net/gseabra/java/PeteApplet.html
Thanks,
Gustavo.
GMS.
"C. Lamont Gilbert" <Lamont_Gilbert @ RigidSoftware.com> wrote in message
news:9Zfk7.75976$K6.30046662@news2...