why don't you just put the words in a .txt (or whatever) file and read them from your application? it's a lot easier if you want to add or remove words from the list
Will this work in Netbeans IDE? I really don't know how to input your code using netbeans>.<
That's good, at least you cannot submit it as your own work.