I bet the compile doesn't say:"It does not like this code at all". Post the exact error message or stack trace.