A Java version of the word cloud exercise.