🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17626

Re: How to create JTable Headers

#17626
From: John P. McGrath
Date: Sat, 10 Oct 1998 00:00
15 lines
820 bytes
Leo Cohen <lcohen@cs.virginia.edu> wrote:

> I see a JTable.getColumnName() method but no corresponding
> setColumnName() method. So the question is, how do I get
> column names onto my JTables?

I believe you need to override getColumnName(), and provide the 
value for the header.

-- 
Regards,

John P. McGrath
<mcgrath@enter.net>
<jpm@nscs.fast.net>
Technical Details
Message-ID: <MPG.1089edd6a90b7c8b9896d1@forums.inprise.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <360FD783.60CF166F@cs.virginia.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,22f1a4eaff2827b
X-Google-Attributes: gidf74b3,public
From: mcgrath@enter.net (John P. McGrath)
Subject: Re: How to create JTable Headers
Date: 1998/10/10
Message-ID: <MPG.1089edd6a90b7c8b9896d1@forums.inprise.com>
X-Deja-AN: 399836774
References: <360FD783.60CF166F@cs.virginia.edu>
Organization: Software Consulting Services
Newsgroups: borland.public.jbuilder.java.language