[Biojava-l] Applet and bytecore.jar

Franck Valentin franckv at ebi.ac.uk
Tue Jun 14 10:47:26 EDT 2005


Hi all,

I want to create an applet which displays feature tables graphically. As
a test and to learn biojava I adapted the FastBeadDemo.java example. 
The problem is that it works fine as a standalone application but when
use it as an applet I get the following error :

java.lang.ExceptionInInitializerError
       at
org.biojava.bio.gui.sequence.FilteringRenderer.getContext(FilteringRenderer.java:171)
[...]

Caused by: java.security.AccessControlException: access denied
(java.lang.RuntimePermission createClassLoader)
        at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
[...]


I guess it comes from the bytecore.jar library I need to use and which
tries to create a ClassLoader in an applet context.

Does that mean I need to create something like a signed applet (I know
very little about that !) to use the biojava libray, or does a turn
around exist ?
By the way what bytecore.jar is used for ?



Many thanks


Franck


More information about the Biojava-l mailing list