Put the name Strings in a list and randomize it using the Collections class's shuffle() method.

If you are creating the names, what do you mean by "randomize"?