🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Scrollpane + JTable

#9306
From: pumuckl
Date: Wed, 26 Apr 2000 00:00
29 lines
1224 bytes
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: <8e6hde$kro$1@nnrp1.deja.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,a94555a99524a7d2,start
X-Google-Attributes: gid111d45,public
From: pumuckl@msgto.com
Subject: Scrollpane + JTable
Date: 2000/04/26
Message-ID: <8e6hde$kro$1@nnrp1.deja.com>
X-Deja-AN: 615846021
X-Http-Proxy: 1.0 werum-proxy.de:3128 (Squid/1.1.22), 1.0 x41.deja.com:80 (Squid/1.1.22) for client 172.20.100.120, 62.156.157.70
Organization: Deja.com - Before you buy.
X-Article-Creation-Date: Wed Apr 26 10:46:08 2000 GMT
X-MyDeja-Info: XMYDJUIDpuwackl
Newsgroups: borland.public.jbuilder.java.swing
X-Http-User-Agent: Mozilla/4.6 [de] (WinNT; I)