Sensor net work simulator in Java complete source code can be directly used by the test.
File list:
WSNSimulator
...........\build
...........\.....\classes
...........\.....\.......\.netbeans_automatic_build
...........\.....\.......\BasicAnimate.class
...........\.....\.......\BouncingBall$1.class
...........\.....\.......\BouncingBall.class
...........\.....\.......\Cluster.class
...........\.....\.......\LaunchSimulator$1.class
...........\.....\.......\LaunchSimulator.class
...........\.....\.......\SensorNetwork.class
...........\.....\.......\SensorNode.class
...........\.....\.......\Simulator.class
...........\.....\Simulator.html
...........\dist
...........\....\WSNSimulator.jar
...........\nbproject
...........\.........\private
...........\.........\.......\private.properties
...........\.........\.......\private.xml
...........\.........\build-impl.xml
...........\.........\genfiles.properties
...........\.........\project.properties
...........\.........\project.xml
...........\src
...........\...\BasicAnimate.java
...........\...\Cluster.java
...........\...\LaunchSimulator.java
...........\...\SensorNetwork.java
...........\...\SensorNode.java
...........\test
...........\....\SensorNetworkTest.java
...........\....\SensorNodeTest.java
...........\applet.policy
...........\build.xml