I'm a little stuck. I've been told there is source code available in java/javascript that shows a simulation of a computer virus spreading or something similar. can anyone help as to where i can find this?

basically what i'm looking for is maybe a few points and some controls that when set e.g. the number of people with virus checkers - the user can see how quickly a computer virus will spread.

i have seen something similar in vb - but can't seem to find a java version. any help would be appreciated.