Last change
on this file since 192 was
192,
checked in by vmipsl, 13 years ago
|
Servlet _ Contour en cours _ package gov2
|
File size:
1.0 KB
|
Line | |
---|
1 | /* |
---|
2 | * $Id: ThreeDotsButton.java,v 1.1 2003/08/15 17:14:11 dwd Exp $ |
---|
3 | * |
---|
4 | * This software is provided by NOAA for full, free and open release. It is |
---|
5 | * understood by the recipient/user that NOAA assumes no liability for any |
---|
6 | * errors contained in the code. Although this software is released without |
---|
7 | * conditions or restrictions in its use, it is expected that appropriate |
---|
8 | * credit be given to its author and to the National Oceanic and Atmospheric |
---|
9 | * Administration should the software be included by the recipient as an |
---|
10 | * element in other product development. |
---|
11 | */ |
---|
12 | |
---|
13 | package gov.noaa.pmel.swing; |
---|
14 | |
---|
15 | import javax.swing.JButton; |
---|
16 | import java.awt.Color; |
---|
17 | import java.awt.Insets; |
---|
18 | |
---|
19 | /** |
---|
20 | * @author Donald Denbo |
---|
21 | * @version $Revision: 1.1 $, $Date: 2003/08/15 17:14:11 $ |
---|
22 | * @since SGT 3.0 |
---|
23 | **/ |
---|
24 | public class ThreeDotsButton extends JButton { |
---|
25 | private static ThreeDotsIcon dotsIcon_ = new ThreeDotsIcon(Color.black); |
---|
26 | |
---|
27 | public ThreeDotsButton() { |
---|
28 | super(); |
---|
29 | setIcon(dotsIcon_); |
---|
30 | if(!MRJUtil.isAquaLookAndFeel()) { |
---|
31 | setMargin(new Insets(0, 0, 0, 0)); |
---|
32 | } |
---|
33 | } |
---|
34 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.