🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #2980

Re: JTable Woes

#2980
From: Thomas Moore
Date: Thu, 11 Jun 1998 00:00
12 lines
1026 bytes
Got it.  I found that the headers will only display properly if I do an
addColumn(String) explicitly (extending the DefaultTableModel).

Thomas Moore wrote:

> I can't seem to get the headers on the JTable to display.  I even
> downloaded the SimpleTableDemo from java.sun.com - I get the table but
> no headers.  Is there something I'm missing?  The image shown on the
> Java website shows that this table should show its headers.
>
> I'm using JB2 with whatever default Swing set comes with it.
Technical Details
Message-ID: <357FDE1A.642C37C4@celwave.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <357BDE6D.907F1905@celwave.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 1089d0,20949c9b5d80d5d0
X-Google-Attributes: gid1089d0,public
From: Thomas Moore <tmoore@celwave.com>
Subject: Re: JTable Woes
Date: 1998/06/11
Message-ID: <357FDE1A.642C37C4@celwave.com>
X-Deja-AN: 361691418
Content-Transfer-Encoding: 7bit
References: <357BDE6D.907F1905@celwave.com>
Content-Type: text/plain; charset=us-ascii
Organization: Celwave, Radio Frequency Systems, Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api