| Contents | Index |
javaMethodEDT(MethodName,ClassName,x1,...,xn)
javaMethodEDT(MethodName,JavaObj,x1,...,xn)
javaMethodEDT(MethodName,ClassName,x1,...,xn) invokes the Java class method with the specified input arguments from the Event Dispatch Thread (EDT).
javaMethodEDT(MethodName,JavaObj,x1,...,xn) invokes a nonstatic method on a Java object array.
Invoke the static method setDefaultLookAndFeelDecorated in class javax.swing.JFrame:
javaMethodEDT('setDefaultLookAndFeelDecorated', 'javax.swing.JFrame', true)Create a vector v on the MATLAB thread and invoke the add method from the EDT.
v = java.util.Vector;
javaMethodEDT('add',v,'string');import | isjava | javaMethod | javaObjectEDT | methods

Explore how to use MATLAB to make advancements in engineering and science.
| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |