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

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

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

branches/1.0-gt2-2.6/src/skrueger/swing/SmallButton.java revision 486 by alfonx, Tue Oct 20 16:25:26 2009 UTC branches/2.0-RC1/src/skrueger/swing/SmallButton.java revision 604 by alfonx, Wed Dec 9 14:15:53 2009 UTC
# Line 5  import javax.swing.BorderFactory; Line 5  import javax.swing.BorderFactory;
5  import javax.swing.JButton;  import javax.swing.JButton;
6    
7  public class SmallButton extends JButton {  public class SmallButton extends JButton {
8            
9          public SmallButton() {          public SmallButton() {
10                  setBorder(BorderFactory.createEtchedBorder());                  setBorder(BorderFactory.createEtchedBorder());
11          }          }
12    
13          public SmallButton(Action action, String tooltip) {          public SmallButton(Action action, String tooltip) {
14                  this (action);                  this(action);
15                  if (tooltip != null)                  setToolTipText(tooltip);
                         setToolTipText(tooltip);  
16          }          }
17    
18          public SmallButton(Action action) {          public SmallButton(Action action) {

Legend:
Removed from v.486  
changed lines
  Added in v.604

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26