1 /* 2 * @(#)InsetsUIResource.java 1.12 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.swing.plaf; 9 10 import java.awt.Insets; 11 import javax.swing.plaf.UIResource; 12 13 14 /* 15 * A subclass of Insets that implements UIResource. UI 16 * classes that use Insets values for default properties 17 * should use this class. 18 * <p> 19 * <strong>Warning:</strong> 20 * Serialized objects of this class will not be compatible with 21 * future Swing releases. The current serialization support is 22 * appropriate for short term storage or RMI between applications running 23 * the same version of Swing. As of 1.4, support for long term storage 24 * of all JavaBeans<sup><font size="-2">TM</font></sup> 25 * has been added to the <code>java.beans</code> package. 26 * Please see {@link java.beans.XMLEncoder}. 27 * 28 * @see javax.swing.plaf.UIResource 29 * @version 1.12 12/19/03 30 * @author Amy Fowler 31 * 32 */ 33 public class InsetsUIResource extends Insets implements UIResource 34 { 35 public InsetsUIResource(int top, int left, int bottom, int right) { 36 super(top, left, bottom, right); 37 } 38 } 39