title: How to inject with Guice when there are two different constructors?
body: <p>Total Guice noob here, have read a few articles and seen the intro video, that's about it.</p>
  
  <p>Here's my simplified old code that I'm trying to "guicifiy". Can't quite figure out how to, since (as far as I understand), I can only <code>@inject</code>-annotate one of the two constructors? How can a calling class create the one or the other instance? Or will I have to refactor this somehow?</p>
  
  <pre><code>public class MyDialog extends JDialog {
      public MyDialog( JFrame parent, &lt;other parameters...&gt; ) {
          super( parent );
      }
  
      public MyDialog( JDialog parent, &lt;other parameters...&gt;) {
          super( parent );
      }
   }
  </code></pre>