a word processor written in java