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