2011-12-12 174 views

回答

0

调整JSplitPane有2个方法:.setDividerLocation(INT像素)和.setDividerLocation(双百分比)。代码将很容易:

jSplitPane.setDividerLocation(0.0); // set maximum height of the bottom part