We did set the size to 0. Here is the basic code we used:
scrollapplication1 = new ScrollApplication1();
scrollapplication2 = new ScrollApplication1();
JSplitPane jspane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT,
scrollapplication1, scrollapplication2);
Dimension minimumSize = new Dimension(0, 0);
jspane.setDividerLocation(200);
scrollapplication1.setMinimumSize(minimumSize) ;
scrollapplication2.setMinimumSize(minimumSize) ;
contentPane.add(jspane, BorderLayout.CENTER);
Each ScrollApplication1 object resizes to fit the size of the scroll pane, as the divider moves. Send us your own version if you would.