Re: automatically maximize JTable?



matomira@xxxxxxx wrote:

> I have a JTable inside a JScrollPanel in the CENTER of a Panel with a
> BorderLayout (at the EAST there are some buttons, and the panel is
> inside some other panel/box).
>
> How can I do to get this scollpanel/table combo to fit all the
> available space in the panel, besides that taken up by the buttons?

In BorderLayout the center component gets all the remaining space. Another
layout higher in the hierarchy must be the culprit. Please post a compilable
example.


Christian
.