Back to LanguageTool Homepage - Privacy - Imprint

Multiple JLanguageTool instance


(Ashot) #1

Hi,

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.


Using JLanguageTool for multiple textareas in a Java GUI
(Daniel Naber) #2

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.


(Ashot) #3

Thanks !!