I've got a pretty specific question here, and I'm hoping that I'm just missing something obvious. I've got a panel which an arbitrary number of text fields may be added to at run time (there's no way that I can know beforehand how many the user will see). I've got it set up so that the window's height, and the height of the panel in which the fields appear will never exceed the height of the screen. What I don't have is a way to make the panel scroll to access the fields that are being visually truncated. As seen below, I'm setting the autoscrolls on the panel to true, but when I run the program, the fields are simply truncated.
pnlDeclensions.setAutoscrolls(true);
Any suggestions or help would be appreciated. Thanks!