🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Colouring rows in JTable

#11432
From: Tapio Holopainen
Date: Mon, 31 May 1999 00:00
62 lines
2136 bytes
This is a multi-part message in MIME format.
--------------F1F9DA43D010DE2308118660
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi Peter,

Check this site:

http://www.codeguru.com/java/


Coloured cell example can be found at:

http://www.codeguru.com/java/articles/137.shtml


- Tapio



Peter Hawkins wrote:
> 
> 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
--------------F1F9DA43D010DE2308118660
Content-Type: text/x-vcard; charset=us-ascii;
 name="tapio.holopainen.vcf"
Content-Transfer-Encoding: 7bit
Content-Description: Card for Tapio Holopainen
Content-Disposition: attachment;
 filename="tapio.holopainen.vcf"

begin:vcard 
n:Holopainen;Tapio
tel;cell:+358 (0)40 517 1846
tel;fax:+358 (0)14 449 8402
tel;work:+358 (0)14 449 8403
x-mozilla-html:TRUE
url:http://www.sysline.com
org:Sysline Inc.
adr:;;Gummeruksenkatu 9B;JYVASKYLA;;FIN-40100;FINLAND
version:2.1
email;internet:tapio.holopainen@sysline.com
title:Software Developer
fn:Tapio Holopainen
end:vcard

--------------F1F9DA43D010DE2308118660--
Technical Details
Message-ID: <37521A0D.ECEB4648@sysline.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <374A7137.B77EB648@hos.horizon.ie>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 111d45,c4ba3c7ea82e452c
X-Google-Attributes: gid111d45,public
From: Tapio Holopainen <tapio.holopainen@sysline.com>
Subject: Re: Colouring rows in JTable
Date: 1999/05/31
Message-ID: <37521A0D.ECEB4648@sysline.com>
X-Deja-AN: 483963762
References: <374A7137.B77EB648@hos.horizon.ie>
To: Peter Hawkins <Peter.Hawkins@hos.horizon.ie>
X-Accept-Language: en
Content-Type: multipart/mixed; boundary="------------F1F9DA43D010DE2308118660"
Organization: Sysline Inc.
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing