I have a java application. The top most level is a JFrame. Then a JScrollPane with JPanel (A) as a client. Inside the JPanel (A), I put multiple JPanel's because I need multiple sets (groups) of areas (like a form has multiple sections). However, when user resizes the window (JFrame), some of the sections have been cut off and the scrolling bar does not work as expected, i.e. even user moves the scrolling bar, the bottom area (section) is still cut off.
it sounds like Panel A is either not laying out its children right or not being sized right. Are you calling set size / preferredSize on your panel? If not, you probably should be. If you are, are you sure you've got the right size?