🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Colored Rows in JTable.

#8702
From: Jerel Thompson
Date: Fri, 21 Jul 2000 00:00
7 lines
951 bytes
I would like to have a JTable in my aplett that has multi-colored rows.  I
would like every other tow to be a light green as to make it easy to read.
However, this being my first java applett, I am a little lost on where to
start.  I know it has something to do with a renderer but I have no idea
where or what to code.  All my data is in the JTable, I just need to color
the cells.  Any examples or snippits of code would be most helpful.  Thanks
for your time.
Technical Details
Message-ID: <39786dcb$1@dnews>
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,bdd9f7380b70666,start
X-Google-Attributes: gid111d45,public
From: "Jerel Thompson" <jerel[at]rli-net[dot]net>
Subject: Colored Rows in JTable.
Date: 2000/07/21
Message-ID: <39786dcb$1@dnews>
X-Deja-AN: 649151054
X-Trace: 21 Jul 2000 08:35:39 -0800, 127.0.0.1
X-MSMail-Priority: Normal
X-Priority: 3
Newsgroups: borland.public.jbuilder.java.swing
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700