/[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 862 by alfonx, Sat May 22 01:24:46 2010 UTC revision 1136 by alfonx, Fri Oct 15 01:08:46 2010 UTC
# Line 98  public class TranslationAskJDialog exten Line 98  public class TranslationAskJDialog exten
98           * This class handles the cancel button itself. You may still want to listen           * This class handles the cancel button itself. You may still want to listen
99           * to PROPERTY_APPLY_AND_CLOSE events. This dialog is modal. The dialog has           * to PROPERTY_APPLY_AND_CLOSE events. This dialog is modal. The dialog has
100           * to be set visible afterwards.<br/>           * to be set visible afterwards.<br/>
          *  
          * @param owner  
          *            A component of the GUI that this dialog is related to. If no  
          *            {@link Window} is passed, SwingUtil.getParentWindow(owner) is  
          *            called.  
101           */           */
102          public TranslationAskJDialog(Component owner,          public TranslationAskJDialog(Component owner,
103                          final JComponent... translationEditJPanels) {                          final JComponent... translationEditJPanels) {
104                  super(SwingUtil.getParentWindow(owner));                  super(owner);
105                  setComponents(translationEditJPanels);                  setComponents(translationEditJPanels);
106          }          }
107    
# Line 122  public class TranslationAskJDialog exten Line 117  public class TranslationAskJDialog exten
117           * Using this constructor, you have to call setComponents afterwards.           * Using this constructor, you have to call setComponents afterwards.
118           */           */
119          public TranslationAskJDialog(Component owner) {          public TranslationAskJDialog(Component owner) {
120                  super(SwingUtil.getParentWindow(owner));                  super(owner);
121          }          }
122    
123          /**          /**

Legend:
Removed from v.862  
changed lines
  Added in v.1136

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26