Hi,
does anybody know what to do if one of the functions from the API does not appear in my plugin? I have an ImagePlus in my java plugin but it doesn't recognize that it should have a setActiveChannels function in Netbeans. I have the library url correct, http://rsb.info.nih.gov/ij/developer/api, and that site states that the ImagePlus should have a setActiveChannels function, http://rsb.info.nih.gov/ij/developer/api/ij/ImagePlus.html...
Any clues would be much appreciated.
Thanks in advance for your time.
Neil
|
> On Feb 16, 2016, at 8:48 PM, nellypledge <[hidden email]> wrote:
> > Hi,does anybody know what to do if one of the functions from the API does not > appear in my plugin? I have an ImagePlus in my java plugin but it doesn't > recognize that it should have a setActiveChannels function in Netbeans. I > have the library url correct, http://rsb.info.nih.gov/ij/developer/api, and > that site states that the ImagePlus should have a setActiveChannels > function, http://rsb.info.nih.gov/ij/developer/api/ij/ImagePlus.html > <http://rsb.info.nih.gov/ij/developer/api/ij/ImagePlus.html> ...Any clues > would be much appreciated.Thanks in advance for your time.Neil Are you using ImageJ 1.49o or later? According to the release notes (http://imagej.nih.gov/ij/notes.html), the setActiveChannels() method was added to the ImagePlus class in ImageJ 1.49o, released in January of 2015. -wayne > -- > View this message in context: http://imagej.1557.x6.nabble.com/setActiveChannels-function-missing-from-ImagePlus-tp5015652.html > Sent from the ImageJ mailing list archive at Nabble.com. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Wonderful! Thanks Wayne, that fixed it.
I love the easy fixes; didn't think to check the versioning. Thanks for your time. Neil -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Rasband, Wayne (NIH/NIMH) [E] Sent: Tuesday, February 16, 2016 9:48 PM To: [hidden email] Subject: Re: setActiveChannels function missing from ImagePlus > On Feb 16, 2016, at 8:48 PM, nellypledge <[hidden email]> wrote: > > Hi,does anybody know what to do if one of the functions from the API > does not appear in my plugin? I have an ImagePlus in my java plugin > but it doesn't recognize that it should have a setActiveChannels > function in Netbeans. I have the library url correct, > http://rsb.info.nih.gov/ij/developer/api, and that site states that > the ImagePlus should have a setActiveChannels function, > http://rsb.info.nih.gov/ij/developer/api/ij/ImagePlus.html > <http://rsb.info.nih.gov/ij/developer/api/ij/ImagePlus.html> ...Any > clues would be much appreciated.Thanks in advance for your time.Neil Are you using ImageJ 1.49o or later? According to the release notes (http://imagej.nih.gov/ij/notes.html), the setActiveChannels() method was added to the ImagePlus class in ImageJ 1.49o, released in January of 2015. -wayne > -- > View this message in context: > http://imagej.1557.x6.nabble.com/setActiveChannels-function-missing-fr > om-ImagePlus-tp5015652.html Sent from the ImageJ mailing list archive > at Nabble.com. -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html ________________________________ This e-mail message (including any attachments) is for the sole use of the intended recipient(s) and may contain confidential and privileged information. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message (including any attachments) is strictly prohibited. If you have received this message in error, please contact the sender by reply e-mail message and destroy all copies of the original message (including attachments). -- ImageJ mailing list: http://imagej.nih.gov/ij/list.html |
Free forum by Nabble | Edit this page |