< prev index next >

src/java.desktop/share/classes/javax/swing/border/MatteBorder.java

Print this page
rev 60127 : 8249205: Remove unnecessary trademark symbols


  23  * questions.
  24  */
  25 package javax.swing.border;
  26 
  27 import java.awt.Graphics;
  28 import java.awt.Insets;
  29 import java.awt.Component;
  30 import java.awt.Color;
  31 
  32 import javax.swing.Icon;
  33 
  34 /**
  35  * A class which provides a matte-like border of either a solid color
  36  * or a tiled icon.
  37  * <p>
  38  * <strong>Warning:</strong>
  39  * Serialized objects of this class will not be compatible with
  40  * future Swing releases. The current serialization support is
  41  * appropriate for short term storage or RMI between applications running
  42  * the same version of Swing.  As of 1.4, support for long term storage
  43  * of all JavaBeans&trade;
  44  * has been added to the <code>java.beans</code> package.
  45  * Please see {@link java.beans.XMLEncoder}.
  46  *
  47  * @author Amy Fowler
  48  */
  49 @SuppressWarnings("serial")
  50 public class MatteBorder extends EmptyBorder
  51 {
  52     /**
  53      * The color rendered for the border.
  54      */
  55     protected Color color;
  56     /**
  57      * The icon to be used for tiling the border.
  58      */
  59     protected Icon tileIcon;
  60 
  61     /**
  62      * Creates a matte border with the specified insets and color.
  63      * @param top the top inset of the border




  23  * questions.
  24  */
  25 package javax.swing.border;
  26 
  27 import java.awt.Graphics;
  28 import java.awt.Insets;
  29 import java.awt.Component;
  30 import java.awt.Color;
  31 
  32 import javax.swing.Icon;
  33 
  34 /**
  35  * A class which provides a matte-like border of either a solid color
  36  * or a tiled icon.
  37  * <p>
  38  * <strong>Warning:</strong>
  39  * Serialized objects of this class will not be compatible with
  40  * future Swing releases. The current serialization support is
  41  * appropriate for short term storage or RMI between applications running
  42  * the same version of Swing.  As of 1.4, support for long term storage
  43  * of all JavaBeans
  44  * has been added to the <code>java.beans</code> package.
  45  * Please see {@link java.beans.XMLEncoder}.
  46  *
  47  * @author Amy Fowler
  48  */
  49 @SuppressWarnings("serial")
  50 public class MatteBorder extends EmptyBorder
  51 {
  52     /**
  53      * The color rendered for the border.
  54      */
  55     protected Color color;
  56     /**
  57      * The icon to be used for tiling the border.
  58      */
  59     protected Icon tileIcon;
  60 
  61     /**
  62      * Creates a matte border with the specified insets and color.
  63      * @param top the top inset of the border


< prev index next >