1. /*
  2. * @(#)MotifLabelUI.java 1.9 00/02/02
  3. *
  4. * Copyright 1997-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package com.sun.java.swing.plaf.motif;
  11. import javax.swing.*;
  12. import javax.swing.plaf.basic.BasicLabelUI;
  13. import javax.swing.plaf.ComponentUI;
  14. /**
  15. * A Motif L&F implementation of LabelUI.
  16. * This merely sets up new default values in MotifLookAndFeel.
  17. * <p>
  18. * <strong>Warning:</strong>
  19. * Serialized objects of this class will not be compatible with
  20. * future Swing releases. The current serialization support is appropriate
  21. * for short term storage or RMI between applications running the same
  22. * version of Swing. A future release of Swing will provide support for
  23. * long term persistence.
  24. *
  25. * @version 1.9 02/02/00
  26. * @author Amy Fowler
  27. */
  28. public class MotifLabelUI extends BasicLabelUI
  29. {
  30. static MotifLabelUI sharedInstance = new MotifLabelUI();
  31. public static ComponentUI createUI(JComponent c) {
  32. return sharedInstance;
  33. }
  34. }