java.lang.SecurityException: Prohibited package name: java



I created an applet which just attaches an extended TransferHandler to
a gui and it worked fine on my computer...
Online however I got this error: java.lang.SecurityException:
Prohibited package name: java

at java.lang.ClassLoader.defineClass(Unknown Source)

at java.security.SecureClassLoader.defineClass(Unknown Source)

at sun.applet.AppletClassLoader.findClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadClass(Unknown Source)

at java.lang.ClassLoader.loadClass(Unknown Source)

at sun.applet.AppletClassLoader.loadCode(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)

I signed the applet with keytool and jarsigner and it still happened...

.



Relevant Pages

  • Re: Can I combine GUI & Applet?
    ... a JApplet (just add the components to the JApplet, ... Yes, I did that to produce an applet from the command line utility/GUI application, pausing only to strip out a lot of no-longer needed stuff such as mainand all the menu-bar related code. ... However, there are a few cases, mostly small applications, where it would be nice to be able to execute the same code as a command line utility, a stand-alone GUI application or embed it in a web page. ...
    (comp.lang.java.programmer)
  • Re: perl/tk + html
    ... information which it portrays visually on the map in the GUI. ... server so that the interface could be viewed remotely from any client. ... You would like to have a "perl-tk applet", ... You create a VNC server on your computer, and use a Java embedded VNC ...
    (comp.lang.perl.tk)
  • Re: help - accidentally creating floating applet
    ... code generated by it is the generic applet templete, ... I have done various Java applications, but this is my first GUI & ... That leaves me with a dead HTML page. ... unreasonable since it was simply showing basic GUI initialization. ...
    (comp.lang.java.help)
  • Re: Please thiHelp
    ... You can't put windows forms in an applet. ... Java is not as "friendly" as windows when it comes to GUI ... If you don't use layout managers, your applet will look funny on other ...
    (microsoft.public.dotnet.vjsharp)
  • Re: Applet problems in adding a bgImage
    ... > I am in the early stages of designing an applet and am having some ... What 'trouble'. ... If this comes from a 'GUI' book. ... > public void paint{ ...
    (comp.lang.java.programmer)