Re: imagePlus.setRoi() not displaying

Posted by dscho on
URL: http://imagej.273.s1.nabble.com/imagePlus-setRoi-not-displaying-tp3703119p3703120.html

Hi,

On Tue, 11 Apr 2006, Nikos Katsikanis wrote:

> In my java code I want to display a Roi defined in the program but when I call
> imagePlus.setRoi(rectangle) The Roi is not displayed.  What I want it to do
> is similar to when a roi is selected in the Roi manager plugin and then it
> is displayed in the coresponding window.

I think you need to call updateDisplay().

Hth,
Dscho