Greetings,

I am trying to get two (or more) ImageWindow(s) to show the same viewport
and cursor. I would like the window size and zoom to be the same; and have
the cursor in the current window shown in the other ImageWindow(s).

I assume that the root of the zooming solution is the
ImageCanvas.(s|g)etSourceRect, albeit, that the rest of this solution
requires a certain set of other method calls.

For the sync(ed) cursor issue, SyncWindows seems to be what would I want
to use, although it seems as though it requires the GUI controls. Also,
SyncWindows is overkill for what I need, i.e., both windows would be
exactly the same geometry-wise, and I do not want propagation of the
Events.

I was hoping that someone can share working code that accomplishes this so
that I do not have to figure it out the hard way by trial and error...

Thanks in advance,

Fred

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html

Reply via email to