80 * where as a value of 1 indicates the left/top component gets all the space.
81 * <p>
82 * <strong>Warning:</strong> Swing is not thread safe. For more
83 * information see <a
84 * href="package-summary.html#threading">Swing's Threading
85 * Policy</a>.
86 * <p>
87 * <strong>Warning:</strong>
88 * Serialized objects of this class will not be compatible with
89 * future Swing releases. The current serialization support is
90 * appropriate for short term storage or RMI between applications running
91 * the same version of Swing. As of 1.4, support for long term storage
92 * of all JavaBeans™
93 * has been added to the <code>java.beans</code> package.
94 * Please see {@link java.beans.XMLEncoder}.
95 *
96 * @see #setDividerLocation
97 * @see #resetToPreferredSizes
98 *
99 * @author Scott Violet
100 */
101 @SuppressWarnings("serial") // Same-version serialization only
102 public class JSplitPane extends JComponent implements Accessible
103 {
104 /**
105 * @see #getUIClassID
106 * @see #readObject
107 */
108 private static final String uiClassID = "SplitPaneUI";
109
110 /**
111 * Vertical split indicates the <code>Component</code>s are
112 * split along the y axis. For example the two
113 * <code>Component</code>s will be split one on top of the other.
114 */
115 public final static int VERTICAL_SPLIT = 0;
116
117 /**
118 * Horizontal split indicates the <code>Component</code>s are
119 * split along the x axis. For example the two
|
80 * where as a value of 1 indicates the left/top component gets all the space.
81 * <p>
82 * <strong>Warning:</strong> Swing is not thread safe. For more
83 * information see <a
84 * href="package-summary.html#threading">Swing's Threading
85 * Policy</a>.
86 * <p>
87 * <strong>Warning:</strong>
88 * Serialized objects of this class will not be compatible with
89 * future Swing releases. The current serialization support is
90 * appropriate for short term storage or RMI between applications running
91 * the same version of Swing. As of 1.4, support for long term storage
92 * of all JavaBeans™
93 * has been added to the <code>java.beans</code> package.
94 * Please see {@link java.beans.XMLEncoder}.
95 *
96 * @see #setDividerLocation
97 * @see #resetToPreferredSizes
98 *
99 * @author Scott Violet
100 * @since 1.2
101 */
102 @SuppressWarnings("serial") // Same-version serialization only
103 public class JSplitPane extends JComponent implements Accessible
104 {
105 /**
106 * @see #getUIClassID
107 * @see #readObject
108 */
109 private static final String uiClassID = "SplitPaneUI";
110
111 /**
112 * Vertical split indicates the <code>Component</code>s are
113 * split along the y axis. For example the two
114 * <code>Component</code>s will be split one on top of the other.
115 */
116 public final static int VERTICAL_SPLIT = 0;
117
118 /**
119 * Horizontal split indicates the <code>Component</code>s are
120 * split along the x axis. For example the two
|