I want to set up an own programm using ImageJ as a library. So this will not going to be a plugin.
The user can open an image and then mark a spot with the point selection tool provided by ImageJ. When the user does this I want my measurements to happen around that point.
I already have a working programm, but the user has to click an extra button after selecting the desired point to start the measurement.
To provide an easy and fast usage I want the action to be happen right after selecting the point. Therefore I want to register a MouseListener. My question is: Where is the code that implements the point selection tool? And where can I register my MouseListener?
Thanks in advance.