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