Worksoft Community

Java Interface - How do I specify more than 5 arguments?

0% of people found this useful
Java Interface - How do I specify more than 5 arguments?

Filed under: , [Edit Tags]

Question:

Java method requires 6 arguments. Certify can only specify 5 arguments.

An Exception like this is thrown:

wsJava.AnyClass.Invoke - Method not found for execution by reflection (-10)  - java.lang.Exception: drag of 5 args: Method not found for class com.worksoft.swing.JTableWrapperSwing. - at com.worksoft.java.ExecCommon.invoke(ExecCommon.java:169)

If I use Java Learn and enter the parameters manually, everything works.

Answer:

Enter the 5th argument and any remaining arguments in the 5th argument. Use “!~” for the delimiter between the values.

For example, if you want to pass 1 for the 5th argument and 0 for the 6th argument try this:

1!~0 . 

Recent Comments

Leave the first comment for this page.
©2009-2011 Worksoft, Inc.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems