1. /*
  2. * @(#)WindowsSplitPaneUI.java 1.10 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 com.sun.java.swing.plaf.windows;
  8. import javax.swing.plaf.basic.*;
  9. import javax.swing.*;
  10. import javax.swing.plaf.basic.BasicSplitPaneUI;
  11. import javax.swing.plaf.basic.BasicSplitPaneDivider;
  12. import javax.swing.plaf.*;
  13. /**
  14. * Windows rendition of the component.
  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. public class WindowsSplitPaneUI extends BasicSplitPaneUI
  24. {
  25. public WindowsSplitPaneUI() {
  26. super();
  27. }
  28. /**
  29. * Creates a new WindowsSplitPaneUI instance
  30. */
  31. public static ComponentUI createUI(JComponent x) {
  32. return new WindowsSplitPaneUI();
  33. }
  34. /**
  35. * Creates the default divider.
  36. */
  37. public BasicSplitPaneDivider createDefaultDivider() {
  38. return new WindowsSplitPaneDivider(this);
  39. }
  40. }