1. /*
  2. * @(#)MetalTextFieldUI.java 1.14 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package javax.swing.plaf.metal;
  8. import java.awt.*;
  9. import java.beans.*;
  10. import javax.swing.*;
  11. import javax.swing.text.*;
  12. import javax.swing.plaf.*;
  13. import javax.swing.plaf.basic.*;
  14. /**
  15. * Basis of a look and feel for a JTextField.
  16. * <p>
  17. * <strong>Warning:</strong>
  18. * Serialized objects of this class will not be compatible with
  19. * future Swing releases. The current serialization support is
  20. * appropriate for short term storage or RMI between applications running
  21. * the same version of Swing. As of 1.4, support for long term storage
  22. * of all JavaBeans<sup><font size="-2">TM</font></sup>
  23. * has been added to the <code>java.beans</code> package.
  24. * Please see {@link java.beans.XMLEncoder}.
  25. *
  26. * @author Steve Wilson
  27. * @version 1.14 01/23/03
  28. */
  29. public class MetalTextFieldUI extends BasicTextFieldUI {
  30. public static ComponentUI createUI(JComponent c) {
  31. return new MetalTextFieldUI();
  32. }
  33. /**
  34. * This method gets called when a bound property is changed
  35. * on the associated JTextComponent. This is a hook
  36. * which UI implementations may change to reflect how the
  37. * UI displays bound properties of JTextComponent subclasses.
  38. *
  39. * @param evt the property change event
  40. */
  41. public void propertyChange(PropertyChangeEvent evt) {
  42. super.propertyChange(evt);
  43. }
  44. }