Parent Directory
|
Revision Log
|
Patch
revision 474 by alfonx, Thu Oct 15 14:04:16 2009 UTC | revision 487 by alfonx, Tue Oct 20 18:33:53 2009 UTC | |
---|---|---|
# | Line 6 import javax.swing.JButton; | Line 6 import javax.swing.JButton; |
6 | ||
7 | public class SmallButton extends JButton { | public class SmallButton extends JButton { |
8 | ||
9 | public SmallButton() { | |
10 | 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) { |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |