Package ij

Class ImageJApplet

  • All Implemented Interfaces:
    ImageObserver, MenuContainer, Serializable, Accessible

    public class ImageJApplet
    extends Applet
    Runs ImageJ as an applet and optionally opens up to nine images using URLs passed as a parameters.

    Here is an example applet tag that launches ImageJ as an applet and passes it the URLs of two images:

            <applet archive="../ij.jar" code="ij.ImageJApplet.class" width=0 height=0>
            <param name=url1 value="http://imagej.nih.gov/ij/images/FluorescentCells.jpg">
            <param name=url2 value="http://imagej.nih.gov/ij/images/blobs.gif">
            </applet>
            
    To use plugins, add them to ij.jar and add entries to IJ_Props.txt file (in ij.jar) that will create commands for them in the Plugins menu, or a submenu. There are examples of such entries in IJ.Props.txt, in the "Plugins installed in the Plugins menu" section.

    Macros contained in a file named "StartupMacros.txt", in the same directory as the HTML file containing the applet tag, will be installed on startup.

    See Also:
    Serialized Form
    • Constructor Detail

      • ImageJApplet

        public ImageJApplet()
    • Method Detail

      • init

        public void init()
        Starts ImageJ if it's not already running.
        Overrides:
        init in class Applet
      • destroy

        public void destroy()
        Overrides:
        destroy in class Applet