FAQ Automagic
Re: FAQ Automagic
Problem getWidgetElementProperty fillcolor return in signed integer
Code: Select all
dec = -16711936;
dec2hex = callJavaStaticMethod("java.lang.Integer", "toHexString(int)", dec);
hex = "ff00ff00";
hex2dec = callJavaStaticMethod("java.lang.Long", "parseLong(java.lang.String, int)", hex, 16);