1. /*
  2. * @(#)DimensionUIResource.java 1.7 01/11/29
  3. *
  4. * Copyright 2002 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 Dimension that implements UIResource. UI
  12. * classes that use Dimension values for default properties
  13. * should use this class.
  14. * <p>
  15. * <strong>Warning:</strong>
  16. * Serialized objects of this class will not be compatible with
  17. * future Swing releases. The current serialization support is appropriate
  18. * for short term storage or RMI between applications running the same
  19. * version of Swing. A future release of Swing will provide support for
  20. * long term persistence.
  21. *
  22. * @see javax.swing.plaf.UIResource
  23. * @version 1.7 11/29/01
  24. * @author Amy Fowler
  25. *
  26. */
  27. public class DimensionUIResource extends Dimension implements UIResource
  28. {
  29. public DimensionUIResource(int width, int height) {
  30. super(width, height);
  31. }
  32. }