MIDRANGE dot COM Mailing List Archive



MIDRANGE-L » March 2013

Re: creating XLS cell with comments error




On Tue, 12 Mar 2013, at 09:02:29, Dan Kimmel <dkimmel@xxxxxxxxxxxxxxx> wrote:

I'm no expert on poi, but your prototype takes only one parameter, anchor, and your method call is passing two parameters. The java code is going to see what's passed by the prototype, which is just one parameter. The message is telling you that there's no overload of createCellComment in the HSSFPatriarch class that takes HSSFClientAnchor as a single parameter.

Gotta brush up your RPG Dan - when calling an instance method there is always an additional parameter (the first) that is the instance on which to invoke the method. The call from an RPG perspective is correct.

Might I suggest to the OP to take this to the RPG400 list - this is not the right place.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2013 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact