Re: mouse wheel & z-stack
Posted by
dscho on
Aug 29, 2006; 11:01pm
URL: http://imagej.273.s1.nabble.com/mouse-wheel-z-stack-tp3701713p3701715.html
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.htmlHth,
Dscho