Does Spellex Java Spelling Engine work with text components other than TextAreas or JTextAreas?
The Spellex engine does not work with user interface components directly. It obtains words that need to be verified from a class which implements the Word Parser interface. At run time, the Spellex engine calls the WordParser-based class’s getWord method to obtain the next word to spell check. WordParser supports other methods your application can call to correct misspellings, undo previous changes, etc. The Spellex SDK for Java Technology comes with StringWordParser (used to check the spelling of text contained in Strings) and HTMLStringWordParser (used to check the spelling of text containing HTML markups). Example applications are provided with the SDK which contain the following WordParser-based classes: TextAreaWordParser, which is used to check the spelling of text in an AWT TextArea component, and JTextAreaWordParser, which is used to check the spelling of JFC JTextArea components. Source code for TextAreaWordParser and JTextAreaWordParser are included with the SDK. If you need