1. /*
  2. * @(#)MotifSplitPaneUI.java 1.15 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.plaf.basic.BasicSplitPaneUI;
  9. import javax.swing.plaf.basic.BasicSplitPaneDivider;
  10. import javax.swing.plaf.*;
  11. import javax.swing.*;
  12. import java.awt.*;
  13. /**
  14. * Motif rendition of a split pane.
  15. * <p>
  16. * <strong>Warning:</strong>
  17. * Serialized objects of this class will not be compatible with
  18. * future Swing releases. The current serialization support is appropriate
  19. * for short term storage or RMI between applications running the same
  20. * version of Swing. A future release of Swing will provide support for
  21. * long term persistence.
  22. *
  23. * @version 1.15 12/19/03
  24. * @author Jeff Dinkins
  25. */
  26. public class MotifSplitPaneUI extends BasicSplitPaneUI
  27. {
  28. public MotifSplitPaneUI() {
  29. super();
  30. }
  31. /**
  32. * Creates a new MotifSplitPaneUI instance
  33. */
  34. public static ComponentUI createUI(JComponent x) {
  35. return new MotifSplitPaneUI();
  36. }
  37. /**
  38. * Creates the default divider.
  39. */
  40. public BasicSplitPaneDivider createDefaultDivider() {
  41. return new MotifSplitPaneDivider(this);
  42. }
  43. }