Login  Register

imageJ Java Help (Beginner)

Posted by meastwood98 on Nov 20, 2007; 5:52pm
URL: http://imagej.273.s1.nabble.com/imageJ-Java-Help-Beginner-tp3697946.html

Hi all,
Im wanting to execute menu commands from a new plugin i am writing, i can do this when writing a Plugin type by using IJ.run("command"); although the type of plugin i am writing is a PluginFilter and it does not let me do this with that type giving the error "Image is locked".

Can anyone help me run menu commands from a PluginFilter type plugin?

I've read in the documentation that the way to do it is

static void run(java.lang.String command)

Ive tried various ways of using this but im not sure how its supposed to be used, any help would be much appriciated. If you would like a copy of my program to give you a better idea, please let me know.

Thanks you