πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.swing
Article #9222

Re: Scrollpane + JTable

#9222
From: merceron
Date: Fri, 28 Apr 2000 00:00
30 lines
1413 bytes
Hi,
You should use Table.setAutoresize(Table.AUTO_RESIZE_OFF);

Dav'

pumuckl@msgto.com a οΏ½crit :

> Hi:
>
> Its about Scrollpanes and JTable:
>
> I dynamically set up a Table and put it into a Scrollpane which should
> show scrollbars.
>
> The vertical Scrollbar shows up and is usable, but the horizontal
> scrollbar does not show up ( or is not usable if forced)
> instead all the columns are shortened even so I told a minWidth of (180)
>
>   Tcol[i].setMinWidth(180);
>   Tcol[i].setPreferredWidth(180);
>
> How do I keep the columns away from getting smaller and the hor.
> scrollbar into usefull action ???
>
> ThanX
>
> Ulrich Beenen
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Technical Details
Message-ID: <39095FB4.93901824@free.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8e6hde$kro$1@nnrp1.deja.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,a94555a99524a7d2
X-Google-Attributes: gid111d45,public
From: merceron@free.fr
Subject: Re: Scrollpane + JTable
Date: 2000/04/28
Message-ID: <39095FB4.93901824@free.fr>
X-Deja-AN: 616710384
Content-Transfer-Encoding: 8bit
References: <8e6hde$kro$1@nnrp1.deja.com>
X-Accept-Language: fr
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp1.proxad.net 956915284 213.228.33.39 (Fri, 28 Apr 2000 11:48:04 MEST)
Organization: Guest of ProXad - France
MIME-Version: 1.0
NNTP-Posting-Date: Fri, 28 Apr 2000 11:48:04 MEST
Newsgroups: borland.public.jbuilder.java.swing