🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Colouring rows in JTable

#11476
From: Peter Hawkins
Date: Tue, 25 May 1999 00:00
17 lines
979 bytes
Hi,

Is there an easy way to colour the rows in a JTable. What I would like
is say, the odd rows to be background white while the even rows are
background blue, to aid the user in examining a large table. 


Thanks


-- 
Peter Hawkins

______________________________________________________________
Horizon Open Systems                   Block U
Mail : Peter.Hawkins@HOS.Horizon.ie    Eastpoint Business Pk
Url  : http://www.hos.horizon.ie       Dublin 3
Technical Details
Message-ID: <374A7137.B77EB648@hos.horizon.ie>
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,c4ba3c7ea82e452c,start
X-Google-Attributes: gid111d45,public
From: Peter Hawkins <Peter.Hawkins@hos.horizon.ie>
Subject: Colouring rows in JTable
Date: 1999/05/25
Message-ID: <374A7137.B77EB648@hos.horizon.ie>
X-Deja-AN: 481838280
Content-Transfer-Encoding: 7bit
Organization: Horizon Open Systems
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing