Get the coordinates of the displayed image in Java

Dear folks,

I’m developing a Java plugin script for ImageJ. I would like to get and save the coordinates when I use the tool multipoint. I have achieved to get the coordinates when I create a JFrame but I don’t know how to get the coordinates of a selected open image. I think that I need to reference the image creating a variable and then to create a MouseEvent… Someone could help me?