KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > javax > swing > plaf > DimensionUIResource


1 /*
2  * @(#)DimensionUIResource.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.Dimension JavaDoc;
11 import javax.swing.plaf.UIResource JavaDoc;
12
13
14 /*
15  * A subclass of <code>Dimension</code> that implements
16  * <code>UIResource</code>. UI classes that use
17  * <code>Dimension</code> values for default properties
18  * should use this class.
19  * <p>
20  * <strong>Warning:</strong>
21  * Serialized objects of this class will not be compatible with
22  * future Swing releases. The current serialization support is
23  * appropriate for short term storage or RMI between applications running
24  * the same version of Swing. As of 1.4, support for long term storage
25  * of all JavaBeans<sup><font size="-2">TM</font></sup>
26  * has been added to the <code>java.beans</code> package.
27  * Please see {@link java.beans.XMLEncoder}.
28  *
29  * @see javax.swing.plaf.UIResource
30  * @version 1.12 12/19/03
31  * @author Amy Fowler
32  *
33  */

34 public class DimensionUIResource extends Dimension JavaDoc implements UIResource JavaDoc
35 {
36     public DimensionUIResource(int width, int height) {
37         super(width, height);
38     }
39 }
40
Popular Tags