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