Hello Martin, (All well?)
In java-1.2.8 pkg, the order of the first two input argument in javaMethod() is reversed compared to the identically named function in Matlab. IIRC javaMethod.m was included in java-1.2.8 for ML compatibility, to be functionally equivalent to Octave's java_invoke() Octave: ------- RET = javaMethod (OBJ, NAME, ARG1, ...) Invoke the method NAME on the Java object OBJ ...... Matlab (quoted from TMW online docs) ------ <quote> javaMethod(MethodName, ClassName, x1, ..., xn) calls the static method MethodName in the class ClassName........ </quote> Will you fix this, or shall I dive in the sources? I'll wait a few days (as you informed me that you would have little or no time starting this October) before I'll take a try. (javaObject() (matching java_new() ) seems to be OK.) Best wishes, Philip ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Octave-dev mailing list Octave-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/octave-dev