Login  Register

Re: Scale Bar units

Posted by Ed Simmons on Aug 18, 2014; 12:50pm
URL: http://imagej.273.s1.nabble.com/Scale-Bar-units-tp5009167p5009251.html

On 18/08/2014 13:07, Gabriel Landini wrote:

> On Monday 18 Aug 2014 12:52:34 Ed Simmons wrote:
>> I have just tried this with the IJ bundled with a recent MM nightly
>> build and it gives me an error when trying to compile and run.
>> The error says
>> Plugin or class not found: "Scale_Bar"
>> (java.lang.ClassNotFoundException: Scale_Bar)
>>
>> The same code compiles fine if it is named ScaleBar.java (the
>> appropriate change of class name has been made) but this doesn't result
>> in an item in the menu.
> Perhaps the file name and the class name in the code do not match?
> Try renaming both to the same and also include a "_" in the name so it appears
> in the menus.
> Cheers
>
> Gabriel
>
>
Hi Gabriel,

I thought this was the cause too - but I can only get it to compile when
using no underscores in the file & class names...

Thanks,
Ed

--
[hidden email]
http://www.esimgagingsolutions.com

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