Parent Directory
|
Revision Log
* Chart has a new button to zoom to full chart extend
1 | 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 | |
9 | public SmallButton() { |
10 | setBorder(BorderFactory.createEtchedBorder()); |
11 | } |
12 | |
13 | public SmallButton(Action action, String tooltip) { |
14 | this (action); |
15 | if (tooltip != null) |
16 | setToolTipText(tooltip); |
17 | } |
18 | |
19 | public SmallButton(Action action) { |
20 | super(action); |
21 | setBorder(BorderFactory.createEtchedBorder()); |
22 | } |
23 | |
24 | } |
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 |