Parent Directory
|
Revision Log
2.0-RC1 branch ist für GP1.3 bugfixes... 1.0-gt2-2.6 ist der entwicklungs brnach
1 | alfonx | 474 | package skrueger.swing; |
2 | |||
3 | import javax.swing.Action; | ||
4 | import javax.swing.BorderFactory; | ||
5 | import javax.swing.JButton; | ||
6 | |||
7 | public class SmallButton extends JButton { | ||
8 | alfonx | 487 | |
9 | alfonx | 486 | public SmallButton() { |
10 | setBorder(BorderFactory.createEtchedBorder()); | ||
11 | } | ||
12 | alfonx | 474 | |
13 | public SmallButton(Action action, String tooltip) { | ||
14 | alfonx | 487 | this(action); |
15 | setToolTipText(tooltip); | ||
16 | alfonx | 474 | } |
17 | |||
18 | public SmallButton(Action action) { | ||
19 | super(action); | ||
20 | setBorder(BorderFactory.createEtchedBorder()); | ||
21 | } | ||
22 | |||
23 | } |
Name | Value |
---|---|
svn:eol-style | native |
svn:keywords | Id URL |
svn:mime-type | text/plain |
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |