--
You received this message because you are subscribed to the Google Groups "google-guice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-guice...@googlegroups.com.
To post to this group, send email to google...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Hi Arthur,I am the author of "fx-guice" which should make it really easy to use Google Guice in your JavaFX applications.The framework itself is licensed using the Apache License v2 and the sources can be downloaded from Github:I also published the artifact to the Sonatype OSS Maven repository, so it should be really easy to fetch pre-built JARs (especially if you are using a Maven-based build system).The Wiki page of the project hosts a bunch of examples (even though I feel that the code is self-explanatory... but... hey! I AM the author! ;-))The sources itself also come with an "examples" folder that contains a bunch of code snippets to get you started.The main idea of my framework:(1)Extend "com.cathive.fx.guice.GuiceApplication" instead of "javax.application.Application".(2)You will then have perform your Guice module initialization in your app's #init(List<Module>) method.(3)Instead of the basic FXMLLoader you'll have to use @injected instances of the GuiceFXMLLoader class.Then you can use @FXML and @Inject annotations together in your FXMLController classes.(4)The framework offers a bunch of other nice stuff, such as the @FxApplicationThread annotations thatensures execution of your methods on JavaFX's event dispatch thread via method interceptors andevil AOP magic.Benjamin
Hi Arthur,I am the author of "fx-guice" which should make it really easy to use Google Guice in your JavaFX applications.The framework itself is licensed using the Apache License v2 and the sources can be downloaded from Github:I also published the artifact to the Sonatype OSS Maven repository, so it should be really easy to fetch pre-built JARs (especially if you are using a Maven-based build system).The Wiki page of the project hosts a bunch of examples (even though I feel that the code is self-explanatory... but... hey! I AM the author! ;-))The sources itself also come with an "examples" folder that contains a bunch of code snippets to get you started.The main idea of my framework:(1)Extend "com.cathive.fx.guice.GuiceApplication" instead of "javax.application.Application".(2)You will then have perform your Guice module initialization in your app's #init(List<Module>) method.(3)Instead of the basic FXMLLoader you'll have to use @injected instances of the GuiceFXMLLoader class.Then you can use @FXML and @Inject annotations together in your FXMLController classes.(4)The framework offers a bunch of other nice stuff, such as the @FxApplicationThread annotations thatensures execution of your methods on JavaFX's event dispatch thread via method interceptors andevil AOP magic.Benjamin
On Tuesday, February 26, 2013 12:42:58 PM UTC+1, Arthur Gregório wrote: