Creating a Singleton Controller class in JavaFX
问题 I am running into issues getting the below code to execute. All of it works except for the part in the Prompter that says This is my issue area. In that area i need to return the value of controller.getNoun().getText(); which works fine but returns null because i cant figure out how to call controller without initializing it. I tried a Singleton class based on another thread on this site but Controller never got initialized until i called it here so my Noun value was still getting nulled out.