> I want to remove some commands (e.g. Crop, Scale...), so I tried the
> following
>
> int result = Menus.uninstallPlugin("Crop");
> IJ.write ("result is " + result);
>
> The result is -5, which means ImageJ doesn't know the
> command. But when I list the commands with CommandLister,
> there is a command called Crop. Does anyone know how to
> remove commands? Thanks in advance.
Menu commands in submenus can removed by editing the file IJ.Props.txt,
which is in ij.jar. Menu commands not in submenus can be removed by
editing Menus.java and using Ant to rebuild ij.jar.
-wayne