"Color RED" is not valid. Perhaps it should be Color.RED. There may be other errors as in mismatched or missing braces, but I can't tell that with the code you've posted.