KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > java > swing > plaf > windows > WindowsSplitPaneUI


1 /*
2  * @(#)WindowsSplitPaneUI.java 1.14 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
8 package com.sun.java.swing.plaf.windows;
9
10 import javax.swing.plaf.basic.*;
11 import javax.swing.*;
12
13 import javax.swing.plaf.basic.BasicSplitPaneUI JavaDoc;
14 import javax.swing.plaf.basic.BasicSplitPaneDivider JavaDoc;
15 import javax.swing.plaf.*;
16
17
18 /**
19  * Windows rendition of the component.
20  * <p>
21  * <strong>Warning:</strong>
22  * Serialized objects of this class will not be compatible with
23  * future Swing releases. The current serialization support is appropriate
24  * for short term storage or RMI between applications running the same
25  * version of Swing. A future release of Swing will provide support for
26  * long term persistence.
27  */

28 public class WindowsSplitPaneUI extends BasicSplitPaneUI JavaDoc
29 {
30
31     public WindowsSplitPaneUI() {
32     super();
33     }
34
35     /**
36       * Creates a new WindowsSplitPaneUI instance
37       */

38     public static ComponentUI createUI(JComponent x) {
39     return new WindowsSplitPaneUI();
40     }
41
42     /**
43       * Creates the default divider.
44       */

45     public BasicSplitPaneDivider JavaDoc createDefaultDivider() {
46     return new WindowsSplitPaneDivider(this);
47     }
48
49 }
50
51
Popular Tags