I am kind of new to coding in Java, I have been doing it lightly for about a year now. I am working on a project with a friend for this game, and I was wondering how I can code a mouse click that does not actually use the computers mouse itself.

To make a better example for you guys to more clearly understand, I am trying to make a program that will click
things within the area of the client GUI, and a user can still have control of his mouse and open other things and not interfere with what the client is currently doing.

Does anyone know how I can go about doing this?