1. /*
  2. * @(#)MotifLabelUI.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 com.sun.java.swing.plaf.motif;
  8. import javax.swing.*;
  9. import javax.swing.plaf.basic.BasicLabelUI;
  10. import javax.swing.plaf.ComponentUI;
  11. /**
  12. * A Motif L&F implementation of LabelUI.
  13. * This merely sets up new default values in MotifLookAndFeel.
  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. * @version 1.12 12/19/03
  23. * @author Amy Fowler
  24. */
  25. public class MotifLabelUI extends BasicLabelUI
  26. {
  27. static MotifLabelUI sharedInstance = new MotifLabelUI();
  28. public static ComponentUI createUI(JComponent c) {
  29. return sharedInstance;
  30. }
  31. }