Re: MOUSE AND KEY EVENTS

Posted by William O'Connell on
URL: http://imagej.273.s1.nabble.com/MOUSE-AND-KEY-EVENTS-tp3702868p3702869.html

Check the Mouse Listener and Key Listener programming examples under Plugins on the ImageJ web page.

William O'Connell

 -------------- Original message ----------------------
From: Manuel Urrutia Avisrror <[hidden email]>

> Hi all
>
> Somebody knows how to add a MouseEvent and a KeyEvent to a Plugin ?.
> The current compiler answer is that it can't be used in an static enviroment
> since they are abstract methods.
> I would like to catch both event when working with an image to perform especific
> tasks.
>
> Thanks in advance
>
> Manuel Urrutia MD, PhD
> University of Salamanca. Spain
> [hidden email]