JavaFX In Action #10 with Clément de Tastes about QuarkusFX, combining the strengths of Quarkus and JavaFX
In the previous “JFX In Action” interviews, we already saw combinations of JavaFX with Scala and Kotlin. In this episode, we look at the combination of JavaFX and Quarkus. Thanks to QuarkusFX, we can use the many advantages of the Quarkus system to create a desktop application.
About Clément
Clément de Tastes is Technical Lead at SCIAM in France. He has a long history in software development and uses Quarkus in his daytime job. Out of personal interest, he created a Quarkus extension that allows him to combine it with JavaFX to use dependency injection and the many other extensions available for the Quarkus system.
You can find him on LinkedIn and Twitter.
About QuarkusFX
QuarkusFX is a Quarkus extension that allows you to use JavaFX in your Quarkus application. It provides component injection in FX Controllers, allows you to use CDI events to register on primary stage creation, make use of CSS live reloading, provides annotations to write cleaner code, etc.
You can find the sources on GitHub and the documentation on Quarkiverse.
In the video interview, Clément shows a demo of the Devoxx Quiz application, which uses this extension and other JavaFX components to create an animated tool to attract people to a booth at Devoxx in France.
Video content
00:00 Who is Clément?
00:45 About Quarkus and its extensions
02:40 Why use Dependency Injection?
03:58 Quarkus starter page
04:39 JavaFX extension page
06:05 Code examples
09:51 Example code on GitHub
10:36 Quarkus and JavaFX lifecycle
13:07 Live CSS reload demo
16:19 Future plans for the extension
20:02 Demo Devoxx Quizz app
22:07 Other Quarkus extensions that can be used