plugin and standalone application

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

plugin and standalone application

azizia abdullah
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