Microsoft SDK for Java

Splitter.setSplitPosition

Sets the distance between the splitter and the container edge that the control is docked to.

Syntax

public void setSplitPosition( int split )

Parameters

split

The distance, in pixels, between the splitter and the container edge that the control is docked to. For a horizontal splitter (a splitter docked to the top or bottom of a container), this value is the height of the resizable control. For a vertical splitter (a splitter docked to the left or right of a container), this value is the width of the resizable control.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.