I believe what you're trying to alter is the divider's location, with JSplitPane.setDividerLocation() method.


// For the divider to be
// precisely at the middle.
JSplitPane pane = new...