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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 486 - (hide annotations)
Tue Oct 20 16:25:26 2009 UTC (15 years, 4 months ago) by alfonx
Original Path: branches/1.0-gt2-2.6/src/skrueger/swing/SmallButton.java
File MIME type: text/plain
File size: 471 byte(s)
* Chart has a new button to zoom to full chart extend
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 486
9     public SmallButton() {
10     setBorder(BorderFactory.createEtchedBorder());
11     }
12 alfonx 474
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     }

Properties

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