Error: undefined identifier ArrayWrapperString

Jacob Carlborg doob at me.com
Fri Feb 7 12:39:40 PST 2014


On 2014-02-07 19:55, JohnnyK wrote:
> I am getting the following error when trying to use the clipboard with
> DWT.  Error: undefined identifier ArrayWrapperString.  Does anyone know
> what I need to import to get this class to work? Below is what I am
> currently importing.

It's defined in "java.lang.wrappers".

> I looked at the clipboard snippet94 example and I just don't know what I
> am missing to get ArrayWrapperString.  Also I cannot find this class
> online in any of the SWT documentation.

It's not part of SWT. It's a utility typed added by DWT. It's has most 
likely something to do with Java supporting boxing and unboxing of 
primitive types and this type tries to do something similar.

-- 
/Jacob Carlborg


More information about the Digitalmars-d-dwt mailing list