cooja applet files
This commit is contained in:
parent
f1721cad53
commit
8d82edfe81
12
tools/cooja/config/cooja.html
Normal file
12
tools/cooja/config/cooja.html
Normal 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>
|
3
tools/cooja/config/cooja.policy
Normal file
3
tools/cooja/config/cooja.policy
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
grant {
|
||||||
|
permission java.security.AllPermission;
|
||||||
|
};
|
20
tools/cooja/java/se/sics/cooja/CoojaApplet.java
Normal file
20
tools/cooja/java/se/sics/cooja/CoojaApplet.java
Normal 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(){
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user