hi,
how are you adding the components to the JScrollPane?
What
you should do: Add all the components to a JPanel and add this JPanel to the JScrollPane. Be sure not to mix up swing and awt - this is often a reason for "funny behaviour".
Set the preferred size of the viewport:
scrollPane.getViewport().setPreferredSize(Dimension);
What LayoutManagement are you using in the parent component of the scrollpane? I would suggest to add the scrollpane either to a BorderLayout with the CENTER constraint, or to use GridBagLayout and to specify weightx and weighty both as 1.
chantal