🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Please help me

#9753
From: Erwin Ströbele
Date: Tue, 18 Jan 2000 00:00
18 lines
1088 bytes
Hi Michel,

write a TableModel class which extends AbstractTableModel, implement the
method 'getColumnCount()' such that it returns the number of visible
columns you want to have. If you use an object of this TableModel as
parameter in the constructor of JTable, you will only see as many
columns as returned by 'getColumnCount()'.

Erwin

"Michel P�rez" schrieb:

> Greetings !
>
> How could I add an element in a JTable but no visible ?.
>  I want to have a invisible column in a JTable.
>
> Thank
Technical Details
Message-ID: <38846378.F21CDC68@metafinanz.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <852o0l$qhl1@bornews.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 111d45,3408af4ef937908c
X-Google-Attributes: gid111d45,public
From: Erwin Ströbele <EStroebe@metafinanz.de>
Subject: Re: Please help me
Date: 2000/01/18
Message-ID: <38846378.F21CDC68@metafinanz.de>
X-Deja-AN: 574197529
Content-Transfer-Encoding: 8bit
References: <852o0l$qhl1@bornews.borland.com>
X-Accept-Language: de
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing