title: JPanel Form expands to fill JScrollpane - defeats purpose
body: <p>I am creating a JPanel form which will contain several other JPanels.  I want to place this inside a JScrollPane.  Then I want to place the JScrollPane into a JTabbedPane as one of the tabs.  I'm having a problem though -- my JPanel  form winds up expanding when placed in the scrollpane even though I have set size, preferredsize, maximumsize, etc.</p>