JavaFX build generating a blank gui with primary view and secondary view buttons

36 views Asked by At

I am using JavaFX for the first time for my homework assignments. So far, I have had around 5 homework questions that use JavaFX and only one has worked. The others all just show a white screen with 2 buttons, one saying Switch to Primary View and one saying Switch to Secondary View. I have no idea what is causing this or how to fix it. Are there any resources I can use to learn more about what is causing this issue, or any help someone can offer? I am using jdk 21.

My code was giving me an error about Stage requiring transitive and some other guy on here asked about that so I did what the comment said and the error is gone but it didn't change the output.

0

There are 0 answers