/*
 * $Id: ThreeDotsButton.java,v 1.1 2003/08/15 17:14:11 dwd Exp $
 *
 * This software is provided by NOAA for full, free and open release.  It is
 * understood by the recipient/user that NOAA assumes no liability for any
 * errors contained in the code.  Although this software is released without
 * conditions or restrictions in its use, it is expected that appropriate
 * credit be given to its author and to the National Oceanic and Atmospheric
 * Administration should the software be included by the recipient as an
 * element in other product development.
 */

package sgtplot.pmel.swing;

import javax.swing.JButton;
import java.awt.Color;
import java.awt.Insets;

/**
 * @author Donald Denbo
 * @version $Revision: 1.1 $, $Date: 2003/08/15 17:14:11 $
 * @since SGT 3.0
 **/
public class ThreeDotsButton extends JButton {
  private static ThreeDotsIcon dotsIcon_ = new ThreeDotsIcon(Color.black);

  public ThreeDotsButton() {
    super();
    setIcon(dotsIcon_);
    if(!MRJUtil.isAquaLookAndFeel()) {
      setMargin(new Insets(0, 0, 0, 0));
    }
   }
}
 

Ads help maintain this website.