🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Adding columns to a JTable

#10662
From: Sam Wilson
Date: Thu, 26 Aug 1999 00:00
7 lines
947 bytes
Is it possible to change the number of columns in a table from inside the
table model.  I have called tableChanged on the model listeners.  The JTable
then calls the getColumnCount method - this returns the new number of
columns.  The JTable then fails to add the new columns.

Thanks,
Sam.
Technical Details
Message-ID: <935663317.23292.0.nnrp-09.c2dece76@news.demon.co.uk>
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,cb6a1d2b82d6f443,start
X-Google-Attributes: gid111d45,public
From: "Sam Wilson" <sam.wilson@cenes.co.uk>
Subject: Adding columns to a JTable
Date: 1999/08/26
Message-ID: <935663317.23292.0.nnrp-09.c2dece76@news.demon.co.uk>
X-Deja-AN: 517390559
X-NNTP-Posting-Host: cenes.demon.co.uk:194.222.206.118
X-Trace: news.demon.co.uk 935663317 nnrp-09:23292 NO-IDENT cenes.demon.co.uk:194.222.206.118
X-MSMail-Priority: Normal
X-Priority: 3
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
Newsgroups: borland.public.jbuilder.java.swing
X-Complaints-To: abuse@demon.net