Spell Checker, you need to add the Dictionary Listener to the TextPane.