Back to LanguageTool Homepage - Privacy - Imprint

Multiple JLanguageTool instance


I’m developing a java application who contains multiple textAreas.
I’d like to now if I should instance JLanguageTool for each textArea or one JLanguageTool for all textAreas.

Thx and sorry for my bad English.

If you need multi-threading (e.g. because the fields can be checked at the same time), you should have one JLanguageTool per field. But you can use one language object (e.g. “new English()”) for all of these instances of JLanguageTool.

Thanks !!