r/JavaFX • • Apr 05 '24

Help JavaFX program won't show up

Hi! I'm relatively new to JavaFX and am having trouble getting my first non-school related program to run in Eclipse. I have vm control variables included and am using JavaSE-17 and what I think is the latest version of Eclipse. I don't know if it's issues with the try/catch block but even if I remove it it still doesn't seem to work. Is there an issue with the nodes? I've also tried creating a new project folder and restarting Eclipse (Also before anyone asks I can't ask the school for help in the situation I'm in).

Here's the code on pastebin: https://pastebin.com/veYiPB5d

2 Upvotes

5 comments sorted by

View all comments

Show parent comment

2

u/crowdnna Apr 05 '24

Thank you so much!!!! I appreciate that you didn't tell me the answer. My program started running :D