Try implementing KeyListener, when a key is pressed put the TextField
through a StringTokenizer and then have a while loop that goes
through the TextField changing the color of the words. And to check
for a period just look at the last character in each token. I don't
know how to do that actual coloring part though.