cooja applet files

This commit is contained in:
fros4943 2008-02-12 15:17:00 +00:00
parent f1721cad53
commit 8d82edfe81
3 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,12 @@
<html>
<head> <title> The COOJA Simulator (applet) </title> </head>
<body>
<applet code="se/sics/cooja/CoojaApplet.class"
archive="../lib/jdom.jar, ../lib/log4j.jar, ../apps/mrm/lib/mrm.jar, ../apps/mspsim/lib/mspsim.jar, ../apps/mspsim/lib/cooja_mspsim.jar"
width="600" height="400">
</applet>
</body>
</html>

View file

@ -0,0 +1,3 @@
grant {
permission java.security.AllPermission;
};

View file

@ -0,0 +1,20 @@
package se.sics.cooja;
import javax.swing.*;
public class CoojaApplet extends JApplet {
public static CoojaApplet applet = null;
public void init()
{
applet = this;
}
public void start(){
GUI.main(new String[] { "-applet" });
}
public void stop(){
}
}