Re: Scale Bar units
Posted by
Gabriel Landini on
Aug 18, 2014; 12:07pm
URL: http://imagej.273.s1.nabble.com/Scale-Bar-units-tp5009167p5009250.html
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
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html