You may want to take a look at Guts-GUI which is a framework fro writing Swing applications with Guice.

http://kenai.com/projects/guts/pages/Home

Cheers

Jean-Francois

On 03-02-2013 23:10, Satish Pokhrel wrote:
Hello Everyone,

I am new to Google *guice* and seeking for some ideas/help. Actually, i want to implement DI in swing, I have an class MainFrame which extends JFrame, it acts as a local controller for my gui and all the other classes of my gui which extends JPanel are instantiated inside the MainFrame constructor, actually all that classes are highly coupled with MainFrame class. But, I can't figure out how to use guice in this case to make classes loosely coupled. And for easiness i have attached link to that code http://pastie.org/6035182

Regards,

Satish
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.



--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to