/[schmitzm]/branches/2.4.x/src/skrueger/swing/CancellableTabbedDialogAdapter.java
ViewVC logotype

Diff of /branches/2.4.x/src/skrueger/swing/CancellableTabbedDialogAdapter.java

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

branches/1.0-gt2-2.6/src/skrueger/swing/CancellableTabbedDialogAdapter.java revision 497 by alfonx, Fri Oct 23 18:43:58 2009 UTC trunk/src/skrueger/swing/CancellableTabbedDialogAdapter.java revision 711 by alfonx, Fri Feb 19 01:09:35 2010 UTC
# Line 10  import javax.swing.JTabbedPane; Line 10  import javax.swing.JTabbedPane;
10    
11  import net.miginfocom.swing.MigLayout;  import net.miginfocom.swing.MigLayout;
12  import schmitzm.swing.JPanel;  import schmitzm.swing.JPanel;
 import schmitzm.swing.SwingUtil;  
13    
14  public abstract class CancellableTabbedDialogAdapter extends  public abstract class CancellableTabbedDialogAdapter extends
15                  CancellableDialogAdapter {                  CancellableDialogAdapter {
# Line 78  public abstract class CancellableTabbedD Line 77  public abstract class CancellableTabbedD
77    
78                  });                  });
79    
80                  buttonsJPanel.add(okButton);                  buttonsJPanel.add(okButton, "tag ok");
81    
82                  final CancelButton cancelButton = new CancelButton(new AbstractAction(                  final CancelButton cancelButton = new CancelButton(new AbstractAction(
83                                  "") {                                  "") {
# Line 86  public abstract class CancellableTabbedD Line 85  public abstract class CancellableTabbedD
85                                  cancelClose();                                  cancelClose();
86                          }                          }
87                  });                  });
88                  buttonsJPanel.add(cancelButton);                  buttonsJPanel.add(cancelButton, "tag cancel");
89    
90                  return buttonsJPanel;                  return buttonsJPanel;
91          }          }

Legend:
Removed from v.497  
changed lines
  Added in v.711

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26