How to set matomo endpoint in java swing

Hello everyone,

I want to ask that,

I have set up matomo. It runs on my machine. I have already matomo endpoint.

I want to develop applications and send their datas to matomo endpoing in java swing. I have checked matomo official site for java client but i didn’t get efficient answer.

Thanks for answering