hallo,
ich habe diesen quelltext geschrieben
eigentlich funktioniert auch alles, nur läd jmol das applet nicht richtig, jmol asl Programm ist zwar aktiviert, aber das Molekül ist nicht zu sehen die Fehlermeldung lautet:
java.security.AccessControlException:accessdenied (java.io File Permission C:\Users...
dann ist es abgeschnitten
leider kann ich mir der Erklärugn hier
Java Applet Development - java.security.AccessControlException: access denied (java.io.FilePermission
nichts anfangen kann mir jemand helfen?
Mein OS ist Windows 7 und es geht darum ein Jmol applet in eine website einzubinden
ich habe diesen quelltext geschrieben
HTML:
<html>
<head>
<title>jmol applet atoms demo</title>
<script src="jmol/Jmol.js"></script>
</head>
<body>
<script>
jmolInitialize("jmol");
jmolCheckBrowser("popup", "../../browsercheck", "onClick");
</script>
<table border="1">
<tr>
<td>
<h2>caffeine</h2>
<script>
jmolApplet(400, "load cccccc.pdb");
</script>
</td>
<td>
<form>
<p>
The RasMol scripting language has two synonymous
commands to control atom size, <b>spacefill</b> and <b>cpk</b>
(for Corey, Pauling, and Koltun). The commands are aliases and run
exactly the same code.
</p>
<script>
jmolRadio("spacefill on",
"spacefill on <i>or</i> cpk on <i>or</i> spacefill 100%<br />");
jmolRadio("spacefill off",
"spacefill off <i>or</i> cpk off <i>or</i> spacefill 0 <i>or</i> spacefill 0%");
</script>
<p>
As an extension to the RasMol scripting language, Jmol
allows you to specify your size as a percentage of the
vanderWaals radius.
</p>
<script>
jmolRadio("spacefill 20%", "spacefill 20% <i>or</i> cpk 20%<br />", "checked");
jmolRadio("spacefill 25%", "spacefill 25% <i>or</i> cpk 25%<br />");
jmolRadio("spacefill 50%", "spacefill 50% <i>or</i> cpk 50%<br />");
jmolRadio("spacefill 75%", "spacefill 75% <i>or</i> cpk 75%<br />");
</script>
<p>
If you want to specify a fixed size then you can do so in Angstroms.
Note that the last button specifies "1.0" instead of the integer "1".
This is important because integer values specify
<i>RasMol units (1/250th Angstrom)</i>
</p>
<script>
jmolRadio("spacefill 0.25", "spacefill 0.25 <i>or</i> cpk 0.25<br />");
jmolRadio("spacefill 0.5", "spacefill 0.5 <i>or</i> cpk 0.5<br />");
jmolRadio("spacefill 0.75", "spacefill 0.75 <i>or</i> cpk 0.75<br />");
jmolRadio("spacefill 1.0", "spacefill 1.0 <i>or</i> cpk 1.0<br />");
</script>
</form>
</td>
</tr>
</table>
</body>
</html>
eigentlich funktioniert auch alles, nur läd jmol das applet nicht richtig, jmol asl Programm ist zwar aktiviert, aber das Molekül ist nicht zu sehen die Fehlermeldung lautet:
java.security.AccessControlException:accessdenied (java.io File Permission C:\Users...
dann ist es abgeschnitten
leider kann ich mir der Erklärugn hier
Java Applet Development - java.security.AccessControlException: access denied (java.io.FilePermission
nichts anfangen kann mir jemand helfen?
Mein OS ist Windows 7 und es geht darum ein Jmol applet in eine website einzubinden
Zuletzt bearbeitet von einem Moderator: