🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

JTable setWidth method problem

#11410
From: Richard Eber
Date: Tue, 08 Jun 1999 00:00
14 lines
929 bytes
Anyone else out there having problems with the setWidth method of a JTable
component?

My columns are not resizing so I backed off and used the TableExample4.java
code I found in the Swing sample directories that came with JBuilder2
Professional. In that source file there is a line:

vegetarianColumn.setWidth(35);

Changing 35 to other values does not vary the displayed column width either.
Any insight from anyone would be appreciated.

Thanks in advance,
Rich Eber
Technical Details
Message-ID: <7jkbhs$4e915@forums.borland.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,9480b7d52f4b8d54,start
X-Google-Attributes: gid111d45,public
From: "Richard Eber" <reber@hei.com>
Subject: JTable setWidth method problem
Date: 1999/06/08
Message-ID: <7jkbhs$4e915@forums.borland.com>
X-Deja-AN: 487293473
Organization: Hawaiian Electric Company, Inc.
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0
Newsgroups: borland.public.jbuilder.java.swing