Michael Dunn wrote:your description makes little sense.
scrForm at BorderLayout.CENTER will occupy all the available space
leftover in the frame after allocating the other BorderLayout positions.
so, do you mean that when pnlForm increases its height you want the
actual JFrame to also increase its height (which will increase scrForm's height),
until scrForm's max height has been reached, then the scrollbars appear?
if so, that would look really weird
yes, this is what I want to archieve, is there any way to implement it?