Login  Register

Re: example

Posted by Michael Schmid on Jul 12, 2015; 8:01am
URL: http://imagej.273.s1.nabble.com/example-tp5013504p5013525.html

On Sat, July 11, 2015 10:18, Pawel‚ Labno wrote:

> i tried to use Versatile Wand but have some problems:
>
> console log:
> Compiling 1 file in C:\Users\I3\AppData\Local\Temp\java8607712318324216977
> Note:
> C:\Users\I3\AppData\Local\Temp\java8607712318324216977\src\main\java\Versatile_Wand.java
> uses or overrides a deprecated API.
> Note: Recompile with -Xlint:deprecation for details.
>
>
> if i click Versatile Wand tool on menu and select some point a dialog
> appears with text:
> Could not load class Versatile Wand on line 3:
> call ("Versatile_Wand.mousePressed", x, y <)>;
>

Hi Pawel,

If it works manually, you can also try the Command Finder (shift-L) and
see what class it reports for the Versatile Wand. If the class has some
prefix, please add it to the first argument of the 'call' command in the
macro.

It may be also related to the infamous Fiji 'Compile&Run' bug. Please
download the .class file from the plugin's page. It seems that compiling
with 'Compile&Run' currently only works well with plain ImageJ.


[yes, I know, the first problem could be avoided by converting the
Versatile Wand to a PlugInTool, but I am currently too busy with other
things to do it]


Michael

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html