Arbortext Command Language > Functions by Alphabetical Listing > java_constructor_modal
  
java_constructor_modal
ret = java_constructor_modal(class[, arg1[, arg2[, arg3[, ...arg20]]]])
This function is identical to the java_constructor function except that Arbortext Editor creates a new thread for the Java call and puts itself in a mode as if a modal dialog box is displayed. The primary advantage to this function is that the Arbortext Editor window will be able to refresh while the Java call is running. The disadvantage of this function is that it is significantly slower than using the java_constructor function.
This function creates a Java object by calling class and passing it the provided arguments arg1, arg2, arg3, and so on. Up to 20 arguments can be passed to the called class. The value returned by the java_constructor function is the object created by the called constructor.
Related Topics
java_constructor function
java_delete function
java_instance function
java_static function
append_javaclass_path function
set javaclasspath command