Example 10:
The JRoboTest program creates a collection of JRobo's, moves to a random location and draws a random sized rectangle.
The JRobo class includes the rect method, whilst the move method is in JRoboTest.
Uses Java's Random & ArrayList classes.