Hey, guys, I'm trying to get this program to work I got a text file it will read in and then it will cycle through the array list of riddle and give one at a time the user answers it to see if they get it right. For now, I'm just trying to get it to display the riddle and check to see if the answer is right. I'm using Java scene builder I'm just now playing with it.So I'm lost on a lot of it but from what I have seen and read I don't understand why this doesn't work.
This is the Controller
This is the FXML Document
which is where I get an error line 20
This is the start stage
Any help would be great id like to learn to put graphics with my code.