๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

How to get Headers in a JTable

#12405
From: Manuel Kรคgi
Date: Fri, 08 Jan 1999 00:00
10 lines
914 bytes
Hi

can anybody tell me how I have to implement the AbstractTableModel that
the JTable shows the Headers ?
My Table alway shows only the datapart.
I already overridden following functions :
        getColumnCount, getRowCount, getValueAt, getColumnName,
getColumnClass, isCellEditable, setValueAt

Actually I don't get really what I have to return at getColumnClass.
Technical Details
Message-ID: <36962CE0.CE61806E@granitsoft.ch>
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,c53d9c2a5d111107,start
X-Google-Attributes: gid111d45,public
From: Manuel Kรคgi <kawgi@granitsoft.ch>
Subject: How to get Headers in a JTable
Date: 1999/01/08
Message-ID: <36962CE0.CE61806E@granitsoft.ch>
X-Deja-AN: 430223059
Content-Transfer-Encoding: 7bit
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing