Re: wait for user to draw rectangle into current image
Posted by dscho on
URL: http://imagej.273.s1.nabble.com/wait-for-user-to-draw-rectangle-into-current-image-tp3701289p3701290.html
Hi,
On Tue, 17 Oct 2006, Lucas, Falk /BDF HAM wrote:
> But how do I get the cado to wait for the user drawn rectangle???
You could just attach a MouseListener, and do something special when you
receive a mouse release.
However, I suspect that what you want to do could be done nicer by
expecting the user to do something after selecting the rectangle. That
way, the user can adjust the rectangle.
Hth,
Dscho