display the result of the query

How can I display the result of the query JTextArea located in other class? I attach my code in addition.

I forgot to attach code
Abeceda.zip (5.31 KB)

hi di,

can you clarify your question? what exactly is your question?
displaying or presenting the documents resulting from queries?
or passing this information (or actually any other information) from the place where the query result set is retrieved to an arbitrary GUI element or any other place in your code?

regards,
andreas f.