java – Program not compiling due to unknown error in code

this is the error i got when compiling this code.
it is clearly a bug in the code, but I cannot figure out what or where it is, and even if I could, I would not know how to fix it. I am using the latest version of intellij idea, although I do not think that matters. The error i got can be found here, I cannot put it here otherwise this post would be extremely long.

the code I am having problems with is in no way mine, I simply want to be able to use this code. Thanks in advanced for for any help!