Sets the divider location as a percentage of the
JSplitPane
's size.
This method is implemented in terms of
setDividerLocation(int)
.
This method immediately changes the size of the split pane based on
its current size. If the split pane is not correctly realized and on
screen, this method will have no effect (new divider location will
become (current size * proportionalLocation) which is 0).
proportionalLocation | a double-precision floating point value that specifies a percentage, from zero (top/left) to 1.0 (bottom/right) |
IllegalArgumentException | if the specified location is < 0 or > 1.0 |
Diagram: Panes