1. /*
  2. * @(#)MetalSplitPaneUI.java 1.9 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 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
  17. * appropriate for short term storage or RMI between applications running
  18. * the same version of Swing. As of 1.4, support for long term storage
  19. * of all JavaBeans<sup><font size="-2">TM</font></sup>
  20. * has been added to the <code>java.beans</code> package.
  21. * Please see {@link java.beans.XMLEncoder}.
  22. *
  23. * @version 1.9 01/23/03
  24. * @author Steve Wilson
  25. */
  26. public class MetalSplitPaneUI extends BasicSplitPaneUI
  27. {
  28. /**
  29. * Creates a new MetalSplitPaneUI instance
  30. */
  31. public static ComponentUI createUI(JComponent x) {
  32. return new MetalSplitPaneUI();
  33. }
  34. /**
  35. * Creates the default divider.
  36. */
  37. public BasicSplitPaneDivider createDefaultDivider() {
  38. return new MetalSplitPaneDivider(this);
  39. }
  40. }