Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Does Spellex Java Spelling Engine work with text components other than TextAreas or JTextAreas?

0
Posted

Does Spellex Java Spelling Engine work with text components other than TextAreas or JTextAreas?

0

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

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123