Answered at http://www.javaprogrammingforums.com/whats-wrong-my-code/15196-problem-running-random-class.html