🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: JTable Header Problem

#10961
From: Steve Horsley
Date: Thu, 22 Jul 1999 00:00
19 lines
1202 bytes
My understanding is that the JTable relies on an enclosing JScrollPane
to display the column names for it.

Have you tried putting the table in a scrollpane?

Steve
//----------------------
Chet Marchiel wrote:
> 
> Anyone,
> 
> Using JBuilder2 and JBuilder3 Professional Editions, I am creating a
> JTable using a constructor which initializes both the data and the
> column headings... The data comes out fine, but the headings don't show
> at all... The same code when compiled under the JDK1.2 works fine... Any
> ideas as to what I'm doing wrong or if JBuilder has a specific
> configuration need???
> 
> Chet Marchiel
Technical Details
Message-ID: <3796EC1F.81677CDB@cwcom.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <37961453.D28F6A44@jbosc.ksc.nasa.gov>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,fa14152e78a24818
X-Google-Attributes: gid111d45,public
From: Steve Horsley <steve.horsley@cwcom.co.uk>
Subject: Re: JTable Header Problem
Date: 1999/07/22
Message-ID: <3796EC1F.81677CDB@cwcom.co.uk>
X-Deja-AN: 503952751
Content-Transfer-Encoding: 7bit
References: <37961453.D28F6A44@jbosc.ksc.nasa.gov>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Cable & Wireless Communications
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing