During a course at DTU this January, we (Søren Vinter Poulsen, Frederik Peter Aalund and Me) created this Java Program. The goal where to create a simulation of a sensor network. The solution where designed and implemented over a 14 day period.
Download the jar file here.
You should run it with something like these parameters
java java -Xms1024m -Xmx2048m -Xss512m -jar
.java files is included in the jar file.