I want to make a component to occupy the maximumAvailableHeight of the Container. In the code that I have pasted below for example, I have made the root frame to be 800,600.
There are a number of layout managers that would accomplish this--GridLayout (1x1 grid), GridBagLayout, perhaps BorderLayout.