/[schmitzm]/trunk/src/skrueger/swing/TranslationAskJDialog.java
ViewVC logotype

Diff of /trunk/src/skrueger/swing/TranslationAskJDialog.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 199 by alfonx, Tue Jul 7 17:03:18 2009 UTC revision 206 by alfonx, Thu Jul 9 16:45:26 2009 UTC
# Line 85  public class TranslationAskJDialog exten Line 85  public class TranslationAskJDialog exten
85           */           */
86          public TranslationAskJDialog(Component owner,          public TranslationAskJDialog(Component owner,
87                          final JComponent... translationEditJPanels) {                          final JComponent... translationEditJPanels) {
88                  super(owner instanceof Window ? (Window) owner : SwingUtil                  super(SwingUtil.getParentWindow(owner));
                                 .getParentWindow(owner));  
89                  setComponents(translationEditJPanels);                  setComponents(translationEditJPanels);
90          }          }
91    
# Line 101  public class TranslationAskJDialog exten Line 100  public class TranslationAskJDialog exten
100           * to be set visible afterwards.<br/>           * to be set visible afterwards.<br/>
101           * Using this constructor, you have to call setComponents afterwards.           * Using this constructor, you have to call setComponents afterwards.
102           */           */
103          public TranslationAskJDialog(Window owner) {          public TranslationAskJDialog(Component owner) {
104                  this(owner, new JComponent[] {});                  this(owner, new JComponent[] {});
105          }          }
106    

Legend:
Removed from v.199  
changed lines
  Added in v.206

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26