fundamental question
Posted by Tony Shepherd on Aug 08, 2006; 12:34pm
URL: http://imagej.273.s1.nabble.com/fundamental-question-tp3701864.html
Total beginner here, so any help will make a big difference!..
I'm trying to edit existing classes in ImageJ. I start with the
image-processing demo plugin. I can re-name it, edit button labels and loop
controls etc, no problem.
If I want to go much further I will have to edit the super-classes (won't I?).
I find that MYPLUGIN extends PlugInFrame.
Reading ij.jar tells me that PlugInFrame.java is in ij/plugin/frame/
Indeed, that's where it is in the unzipped source-code folders, but editing
tit there doesn't do anything.
I try copying the source code from source/ij/plugin/frame/ into the same
directory as MYPLUGIN.java, and re-naming it to MYPLUGINFrame, then editing
accordingly: MYPLUGIN extends MYPLUGINFrame,
similarly
public class PlugInFrame
becomes
public class MYPLUGINFrame
This is obviously not right (the compiler can't find MYPLUGINFrame)
Can someone point me in the right direction?
Thanks