This content has been marked as final. Show 2 replies
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?
Thanks. I found I did not set "Vertical Resizable" property (I am using NetBeans 7.0) in JScrollPane. Once I set that property, it works as expected.