1. /*
  2. * @(#)MotifSeparatorUI.java 1.20 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 com.sun.java.swing.plaf.motif;
  8. import javax.swing.*;
  9. import java.awt.Color;
  10. import java.awt.Dimension;
  11. import java.awt.Graphics;
  12. import java.awt.Insets;
  13. import java.awt.Rectangle;
  14. import javax.swing.plaf.*;
  15. import javax.swing.plaf.basic.BasicSeparatorUI;
  16. /**
  17. * A Motif L&F implementation of SeparatorUI. This implementation
  18. * is a "combined" view/controller.
  19. * <p>
  20. * <strong>Warning:</strong>
  21. * Serialized objects of this class will not be compatible with
  22. * future Swing releases. The current serialization support is appropriate
  23. * for short term storage or RMI between applications running the same
  24. * version of Swing. A future release of Swing will provide support for
  25. * long term persistence.
  26. *
  27. * @version 1.20 01/23/03
  28. * @author Georges Saab
  29. * @author Jeff Shapiro
  30. */
  31. public class MotifSeparatorUI extends BasicSeparatorUI
  32. {
  33. public static ComponentUI createUI( JComponent c )
  34. {
  35. return new MotifSeparatorUI();
  36. }
  37. }