r/JavaFX • u/Draaksward_89 • Jan 13 '25
Help JavaFX plus Spring Boot 2
Could someone please forward me to a working doc/example/tutorial for adding JavaFX (openjfx or smt) to an existing SpringBoot 2 project?
1
Upvotes
View all comments
Show parent comment
1
u/Draaksward_89 Jan 14 '25
Thank you. I finally (just now) found what I was doing wrong and found an article from Intellij blog - https://blog.jetbrains.com/idea/2019/11/tutorial-reactive-spring-boot-a-javafx-spring-boot-application/
I goofed up and was starting the app from `extends Application` instead of SpringBootApp. Finally got my helloworld with spring boot on board to start and show me a one label (victory!) ui to show.
Now to actually start going through all the tutorials (when I was using JavaFX the last time there was no `new Scene(Parent...)`, the *Layout classes were used directly with scenes)