Awesome Open Source
Awesome Open Source


Build Status

This library provides some useful classes that help you integrate Google Guice into your JavaFX based applications.

The idea for that class was born after I read an article on ( Therefore,... credits go to 'Richard Bair' for the initial idea.

A compiled and ready-to-use version of this library can be found in the Sonatype OSS Maven Repository ( To use the library in your Maven based projects just add the following lines to your 'pom.xml':


In your project all you need to do is create an application class that extends com.cathive.fx.guice.GuiceApplication instead of the javafx.application.Application class that ships with JavaFX.

Next step: instead of using javafx.fxml.FXMLLoader to load FXML files you use com.cathive.fx.guice.GuiceFXMLLoader... that's basically it!

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,358
dependency-injection (219
javafx (133