MOUSE AND KEY EVENTS

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

MOUSE AND KEY EVENTS

Manuel Urrutia Avisrror
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]
Reply | Threaded
Open this post in threaded view
|

Re: MOUSE AND KEY EVENTS

ctrueden
Hi Manuel,

Can you attach the code you are trying to compile? It should not be a
problem to utilize MouseListener and KeyListener in a plugin.

-Curtis

Manuel Urrutia Avisrror wrote:

>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]
>  
>
Reply | Threaded
Open this post in threaded view
|

Re: MOUSE AND KEY EVENTS

William O'Connell
In reply to this post by Manuel Urrutia Avisrror
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]
Reply | Threaded
Open this post in threaded view
|

Re: MOUSE AND KEY EVENTS

Manuel Urrutia Avisrror
Thanks a lot William

Manuel Urrutia
----- Original Message -----
From: "William O'Connell" <[hidden email]>
To: <[hidden email]>
Sent: Tuesday, May 02, 2006 7:33 PM
Subject: Re: MOUSE AND KEY EVENTS


> 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]
Reply | Threaded
Open this post in threaded view
|

How to make "imageJ" window invisible?

Arttu Viitanen
Hi,

Does anyone know how to make "imageJ" window invisible so that it is not
showed when you start imageJ?
I am going to use only Common toolbar, which is open when you start the
WCIFimageJ.
What kind of command I have to add in StartUpMacro or in Common_toolbar
plugin?

Thanks,
Arttu Viitanen
+358 50 5459 598
Institute of Medical technology
University of Tampere, Finland