I'm having some trouble using getClientproperty() to get a string value
btw, im using java 1.4.2, so no autoboxing
I know how to get int values, and here is an example, which works perfect in my program,
cx = ((Integer) btn.getClientProperty ("cx")).intValue ();
but when i try to get a string value, it wont work
type = ((String) btn.getClientProperty ("type")).StringValue ();
I get error which says
No method named "StringValue" was found in type "java.lang.String".
what am i doing wrong?