mouse wheel & z-stack

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

mouse wheel & z-stack

F Javier Díez Guerra
HI,

Is it possible to associate the movement of the mouse wheel with the
display of images up and down within a z-stack?

Thanks,


F Javier Diez-Guerra, PhD
Profesor Titular
Centro de Biologia Molecular Severo Ochoa
Facultad de Ciencias, Universidad Autónoma
Ctra Colmenar Viejo Km 15
Cantoblanco, 28049 Madrid
SPAIN

phone:  +34 91 4978051
Fax:      +34 91 4978087
e-mail: [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: mouse wheel & z-stack

Wayne Rasband
> Is it possible to associate the movement of the mouse wheel with the
> display of images up and down within a z-stack?

The MouseWheelListener interface, added in Java 1.4, is required to
support mouse wheels. Unfortuneltly, imageJ would not work with earlier
versions of Java if stack windows used this interface.

-wayne
Reply | Threaded
Open this post in threaded view
|

Re: mouse wheel & z-stack

dscho
Hi,

On Tue, 29 Aug 2006, Wayne Rasband wrote:

> > Is it possible to associate the movement of the mouse wheel with the display
> > of images up and down within a z-stack?
>
> The MouseWheelListener interface, added in Java 1.4, is required to support
> mouse wheels. Unfortuneltly, imageJ would not work with earlier versions of
> Java if stack windows used this interface.

Since plugins do not suffer this restriction (you just cannot run them
with older versions of Java, but ImageJ itself will be unaffected), I just
wrote a plugin which implements such a stackwindow:

http://wbgn013.biozentrum.uni-wuerzburg.de/ImageJ/scrollable-stackwindow.html

Hth,
Dscho