Re: automatically maximize JTable?
- From: usenet@xxxxxxx (Christian Kaufhold)
- Date: Mon, 27 Jun 2005 19:56:46 +0000 (UTC)
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
.
- Follow-Ups:
- Re: automatically maximize JTable?
- From: matomira
- Re: automatically maximize JTable?
- References:
- automatically maximize JTable?
- From: matomira
- automatically maximize JTable?
- Prev by Date: Re: Controlling JComboBox size in JTable cell
- Next by Date: Re: Controlling JComboBox size in JTable cell
- Previous by thread: Re: automatically maximize JTable?
- Next by thread: Re: automatically maximize JTable?
- Index(es):