A
A
Anton @ Lyalin2017-04-25 09:24:10
Java
Anton @ Lyalin, 2017-04-25 09:24:10

How to get two coordinates of mouse click on a window?

It is not possible to record the coordinates of mouse clicks on the window. I need to write down the coordinates of the first click and the coordinates of the second click, if I already have two coordinates, then output them to the console or to the screen. How to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Anton @ Lyalin, 2017-04-25
@toxa_1995

Understood, the class started a new one for this. Described a method that receives coordinates.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question