Login  Register

plugin Grid_Overlay generates error

Posted by Rudolf Oldenbourg on May 27, 2009; 1:54pm
URL: http://imagej.273.s1.nabble.com/plugin-Grid-Overlay-generates-error-tp3692400.html

When compiling the current Grid_Overlay.java plugin, I get the error  
message appended below.
I'm running ImageJ Version 1.42o on a MacBook Pro OSX 10.5.7 with Java  
1.5.0_16.

Can somebody help me to fix this problem?

Thank you,
Rudolf

Error message:

/Applications/ImageJ/plugins/Graphics/Grid_Overlay.java:44:  
incompatible types
found   : ij.gui.ImageCanvas
required: ImageCanvas
                ImageCanvas ic = imp.getCanvas();
                                               ^
/Applications/ImageJ/plugins/Graphics/Grid_Overlay.java:47: cannot  
find symbol
symbol  : method setDisplayList(<nulltype>)
location: class ImageCanvas
                        ic.setDisplayList(null);
                           ^
/Applications/ImageJ/plugins/Graphics/Grid_Overlay.java:49: cannot  
find symbol
symbol  : method  
setDisplayList(java.awt.geom.GeneralPath,java.awt.Color,<nulltype>)
location: class ImageCanvas
                        ic.setDisplayList(path, getColor(), null);
                           ^
3 errors