Search completed in 1.48 seconds.
6 results for "JavaArray":
JavaArray - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaArray
summary core object a wrapped java array accessed from within javascript code is a member of the type javaarray.
...in addition, you can create a javaarray with an arbitrary data type using the newinstance method of the array class: public static object newinstance(class componenttype, int length) throws negativearraysizeexception description the javaarray object is an instance of a java array that is created in or passed to javascript.
... javaarray is a wrapper for the instance; all references to the array instance are made through the javaarray.
...And 10 more matches
LiveConnect Overview - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Overview
table 9.1 the liveconnect objects object description javaarray a wrapped java array, accessed from within javascript code.
...for example, you can use the following: var mystring = new java.lang.string("hello world"); instead of the longer version: var mystring = new packages.java.lang.string("hello world"); working with java arrays when any java method creates an array and you reference that array in javascript, you are working with a javaarray.
... for example, the following code creates the javaarray x with ten elements of type int: var x = java.lang.reflect.array.newinstance(java.lang.integer, 10); like the javascript array object, javaarray has a length property which returns the number of elements in the array.
...And 4 more matches
LiveConnect Reference - Archive of obsolete content
ArchiveWebLiveConnectLiveConnect Reference
java-to-javascript global objects java packages netscape sun javaarray javaclass javaobject javapackage ...
JavaClass - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaClass
example in the following example, the javaclass object java.lang.string is passed as an argument to the newinstance method which creates an array: var cars = java.lang.reflect.array.newinstance(java.lang.string, 15); see also javaarray, javaobject, javapackage, packages ...
JavaObject - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaObject
var thestring = new java.lang.string("hello, world"); thestring.getclass(); // returns java.lang.string see also javaarray, javaclass, javapackage, packages ...
JavaPackage - Archive of obsolete content
ArchiveWebLiveConnect ReferenceJavaPackage
the following code creates the javapackage red: var red = packages.redwood; see also javaarray, javaclass, javaobject, packages ...