So this morning, I opened up my computer to continue a project I was working on. Then my project I was working on(the only one in the workspace as this is my first project) was gone. I panicked but then realized I could just re-import it back in. After I got it back in the workspace, my editor looked different. None of the variable names were highlighted in a different color as they normally are. I thought nothing of it, but then, I couldn't open the game while tabbed in the UI class I made. I tabbed into my main Game class, and ran the game, and saw that I had an error
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
Syntax error, insert "}" to complete ClassBody
at BackroomsAccurateLore/package1.UI.<init>(UI.java:163)
at BackroomsAccurateLore/package1.Game.<init>(Game.java:9)
at BackroomsAccurateLore/package1.Game.main(Game.java:14)
That shouldn't have happened, as it is saying that there should be a } to close the class body even though there clearly is a } to close it. It is even indented correctly. I will paste my code below: