Description Details Methods See Also Examples
Creates a new Java object and invokes the constructor with given arguments.
The new
method is used as the high-level API to create new
Java objects (for low-level access see .jnew
). It
returns the newly created Java object.
...
arguments are passed to the constructor of the class
specified as J("class.name")
.
new
signature(Class = "jclassName")
: ...
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.