23 * questions.
24 */
25 package javax.swing.border;
26
27 import java.awt.Graphics;
28 import java.awt.Insets;
29 import java.awt.Rectangle;
30 import java.awt.Color;
31 import java.awt.Component;
32 import java.beans.ConstructorProperties;
33
34 /**
35 * A class which implements a raised or lowered bevel with
36 * softened corners.
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 * @author Chester Rose
49 */
50 @SuppressWarnings("serial") // Same-version serialization only
51 public class SoftBevelBorder extends BevelBorder
52 {
53
54 /**
55 * Creates a bevel border with the specified type and whose
56 * colors will be derived from the background color of the
57 * component passed into the paintBorder method.
58 * @param bevelType the type of bevel for the border
59 */
60 public SoftBevelBorder(int bevelType) {
61 super(bevelType);
62 }
63
|
23 * questions.
24 */
25 package javax.swing.border;
26
27 import java.awt.Graphics;
28 import java.awt.Insets;
29 import java.awt.Rectangle;
30 import java.awt.Color;
31 import java.awt.Component;
32 import java.beans.ConstructorProperties;
33
34 /**
35 * A class which implements a raised or lowered bevel with
36 * softened corners.
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 * @author Chester Rose
49 */
50 @SuppressWarnings("serial") // Same-version serialization only
51 public class SoftBevelBorder extends BevelBorder
52 {
53
54 /**
55 * Creates a bevel border with the specified type and whose
56 * colors will be derived from the background color of the
57 * component passed into the paintBorder method.
58 * @param bevelType the type of bevel for the border
59 */
60 public SoftBevelBorder(int bevelType) {
61 super(bevelType);
62 }
63
|