Monitor Example Using Java

Download the following code:

In Eclipse, create a new Java project called "Monitor", and import the above 3 files into package cis481.monitor.
Compile and run the program to see how it works (simulation results).