http://imagej.273.s1.nabble.com/Auto-Scale-Image-View-to-100-tp3693384p3693393.html
> Cochella Chris wrote:
>> Alberto,
>>
>> Thanks. I am having a hard time getting my head around this.
>>
>> We are running a web application for expert reviewers of medical
>> cases. Thus, as the reviewer enters a new case we need to close
>> prior images and open new images.
>>
>> My first thought is to run ImageJ as an embedded applet (using
>> ImageJA for now). However, there seems to be a lot more
>> functionality with the Java WebStart (looked at the one here
http://rsbweb.nih.gov/ij/applets.html)
>>
>>
>> Does the "autorun macro" work for the applet or Java Webstart? Is
>> one better than the other?
>>
>> How would I dynamically open/close/open sets of images as a
>> reviewer moves from case to case?
>>
>>
>> My apologies if I am a bit dense here...
>
>
> If you are using java web start, then you have it easier.
>
> Make the launcher eval or execute a plugin. That plugin will launch
> an ImageListener, than on image opened, does:
>
> public void imageOpened(ImagePlus imp) {
> IJ.run(imp, "Zoom Exact", "zoom=100");
> }
>
>
> But even *way* *easier* than all that, is to set ImageJ property
> "Open images at 100%" to true. It's on the Edit - Options -
> Appearance menu, and you can set it manually either in the
> IJ_Props.txt file (it's the dump of a Properties object), or if you
> don't get around to it, just hard-code it in the .java source files.
>
>
> Albert
>
>
> PS: My name is Albert, pronunced like in French, not Alberto. I'm
> neither Italian nor Spanish-born. I am Catalan.
>
> --
> Albert Cardona
>
http://albert.rierol.net