Parent Directory
|
Revision Log
|
Patch
revision 693 by alfonx, Wed Feb 10 15:04:02 2010 UTC | revision 694 by alfonx, Fri Feb 12 11:28:41 2010 UTC | |
---|---|---|
# | Line 14 public class SmallButton extends JButton | Line 14 public class SmallButton extends JButton |
14 | this(action); | this(action); |
15 | setToolTipText(tooltip); | setToolTipText(tooltip); |
16 | } | } |
17 | ||
18 | ||
19 | public SmallButton(String label) { | |
20 | this(); | |
21 | setText(label); | |
22 | } | |
23 | ||
24 | ||
25 | ||
26 | public SmallButton(String label, String toolTip) { | |
27 | this(); | |
28 | setText(label); | |
29 | setToolTipText(toolTip); | |
30 | } | |
31 | ||
32 | public SmallButton(Action action) { | public SmallButton(Action action) { |
33 | super(action); | this(); |
34 | setBorder(BorderFactory.createEtchedBorder()); | setAction(action); |
35 | } | } |
36 | ||
37 | } | } |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |