tag:blogger.com,1999:blog-4304505761826299706.post1439580980633315235..comments2022-12-23T08:02:02.554+00:00Comments on WONTFIX: Creating JavaFX Controllers Using GuiceAndy Tillhttp://www.blogger.com/profile/13022942102319196525noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-4304505761826299706.post-83207165413150239232012-09-11T20:19:16.910+01:002012-09-11T20:19:16.910+01:00Hi Benjamin
Your project looks like a good starti...Hi Benjamin<br /><br />Your project looks like a good starting point if anyone is creating a new JavaFX project with Guice. I have coded almost exactly the same thing in my own work. <br /><br />Would you be interested in incorporating the code of my second FXML/Guice post? It allows multiple controllers in one FXML control to talk to each other. If so, let me know and I can fork and incorporate the changes for you to pull back.<br /><br />Cheers<br /><br />AndyAndy Tillhttps://www.blogger.com/profile/13022942102319196525noreply@blogger.comtag:blogger.com,1999:blog-4304505761826299706.post-46848863016949971202012-09-11T16:07:15.355+01:002012-09-11T16:07:15.355+01:00Good post!
Glad I'm not the only one who wants...Good post!<br />Glad I'm not the only one who wants to use Guice and JavaFX/FXML together... :)<br /><br />Basically, I use the same approach that you describe, but I decided to create a custom GuiceFXMLLoader class instead and perform initialization of the JavaFX Application object by using a custom GuiceApplication class. That saves me a bunch of lines of code and seems to work pretty nicely.<br /><br />If you want to check out my code, head over to Github and have a look: https://github.com/cathive/fx-guice<br /><br /><br />Benjaminhttps://www.blogger.com/profile/05497231550318798788noreply@blogger.comtag:blogger.com,1999:blog-4304505761826299706.post-86545069739895744882012-07-15T00:02:59.495+01:002012-07-15T00:02:59.495+01:00Nice, thank you.Nice, thank you.Anonymoushttps://www.blogger.com/profile/12150734736683506591noreply@blogger.com