Thank you very much, Michael and Wayne.
I did "imp.updateAndDraw()" after updating the image, but it didn't
work.
I agree that a user won't see the entire stack every 5 seconds, so the
idea is not to refresh the entire stack, but to show the last version of
data loaded from disk when the user browses the stack.
I'll try Michael ideas, so it will work in previous imageJ versions. If
I can't manage to fix the problem, then I'll update to 1.44i (<- this is
the most probably option =P).
Sincerelly,
Juanjo.
On Tue, 2010-09-28 at 15:11 -0400, Rasband, Wayne (NIH/NIMH) [E] wrote:
> On Sep 28, 2010, at 7:46 AM, Juanjo Vega wrote:
> > Sure, but even fixing it I can't revert or reload stacks. IJ.run(imp,
> > "Revert") doesn't work for stacks, but for single images it works
> > perfectly.
> >
> > I'm still looking at the code to try to understand why it doesn't work.
> >
> > Any tip or help will be welcome.
>
> The File>Revert command works with stacks in the 1.44i daily build.
>
> -wayne