Login  Register

plugin and standalone application

Posted by azizia abdullah on Mar 29, 2006; 11:55am
URL: http://imagej.273.s1.nabble.com/plugin-and-standalone-application-tp3703287.html

Hello ImageJ-er,
      I am new to ImageJ. I was wondering if it is
possible to run its plugin (e.g. Plasma, RedAndBlue,
IP_Demo, etc) from a standalone application/java
application.

For example (To display a frame of Plasma plugin in
java application).

import ij.*;
import ij.plugin.PlugIn;

public class Message_Test extends Frame{
       
  public Message_Test(){
    setSize(100,100);
    show();
  }
         public void run(String arg) {
                    IJ.runPlugIn("Plasma_","");
   }
   
   public static void main(String args[])
   {  
    new Message_Test().run("");
   }
   
}

Please advice.

Best regards
Azizia.
Utrecht University
The Netherlands.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com