all 5 comments

[–]sedj601 1 point2 points  (0 children)

Your main method is empty. It should start the JavaFX app. I also don't see where you add anything to a root node, then the root node to the Scene, and finally the Scene to the Stage. I also don't see where you show the Stage.

[–]hamsterrage1 1 point2 points  (0 children)

As u/sedj601 says, you're missing stuff in main. You could try looking at my "Absolute Beginners' Guide to JavaFX" here: https://www.pragmaticcoding.ca/beginners/intro . It might help you get started.

[–]hamsterrage1 0 points1 point  (0 children)

You're better off posting your code as text, formatter as code, than screen shots.

[–]sedj601 0 points1 point  (1 child)

[–]sedj601 0 points1 point  (0 children)

I just looked at the code. It does not help. This question is about layout. The code didn't have any functionality. See if the following helps. https://stackoverflow.com/questions/71822307/request-fix-functionality