Could you please post your complete code so that we can be in a better position to see where your problem is.
Since you are getting a "cannot find symbol error", it is possible that you are using a variable that has not been declared, or you have incorrectly implemented a method, or there is a spelling mistake in your syntax.
HTH
