What is the point of the "Spelling" class? It's just an ArrayList, with some stuff for the "length" (current size) that is, as SasseMan said, totally redundant.
Your main problem comes because you have two ArrayLists of words, and updating one doesn't update the other. Fix this by not having two ArrayLists. Either get rid of the Spelling class and have an ArrayList of words in the main class, or keep the Spelling class (without the length variable) and get rid any other ArrayLists of words.
JamesCherrill
Posting Genius
6,373 posts since Apr 2008
Reputation Points: 2,130
Solved Threads: 1,073