🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Rendering colors in specific JTable cells

#11102
From: Leo Cohen
Date: Wed, 07 Jul 1999 00:00
19 lines
958 bytes
JTable calls on my table model to deliver specific cells by specifying a
(row,col) pair. Based on the current state of the particular (row,col)
object, I want to color the text value that JTable displays in the cell.

How is this done?

Thanks, Leo Cohen

-- 
Leo Cohen

116-1 Howard Drive
Charlottesville, VA  22903

804-243-8922 (UVA)
804-244-4648 (home)
804-244-7922 (home fax)
815-550-9313 (office fax)
lcohen@cs.virginia.edu
Technical Details
Message-ID: <37839DDA.12B7E3B7@cs.virginia.edu>
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,7eca3b4a9a78a9f4,start
X-Google-Attributes: gid111d45,public
From: Leo Cohen <lcohen@cs.virginia.edu>
Subject: Rendering colors in specific JTable cells
Date: 1999/07/07
Message-ID: <37839DDA.12B7E3B7@cs.virginia.edu>
X-Deja-AN: 498243372
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.swing