I'm working on a Quiz Project.
Quiz Project on Github
https://github.com/coding-fellow/QuizMySQL
I have created a userdashboard.fxml file where the user can hit the "Take Quiz" button to enter a new Quiz.fxml file where the user can take the quiz. but when the user enters Quiz.fxml file it did not show quiz so I have created a button "start" that calls ShowQuestion method to showqustions.
I want that when the user hit "Take Quiz" then Quiz.fxml file load and without hitting "start:" button it should show question.
here is the code of userdashboard class.