Article View: borland.public.jbuilder.java.swing
Article #1751Re: change the color of the cell of JTable
From: pnichols
Date: Sun, 13 Jul 2003 07:09
Date: Sun, 13 Jul 2003 07:09
22 lines
1620 bytes
1620 bytes
Tanul wrote: > Gillmer J. Derge [TeamB] wrote: >> >> You'll need to write a custom TableCellRenderer class that draws with a >> red background (or border) for invalid data. >> > > could u please elaborate ur thoughts? I am really in need of this. > > > thanks, > Tanul > Look on the javasoft site. They have a really ggod and indepth article about modifying JTables, It would be too lengthy to post here (of course Gilmer is free to do so if he wishes <G>). Try here http://developer.java.sun.com/developer/Books/swing2/chapter18-01.html
Technical Details
Message-ID:
<3f110569@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<3f0be501@newsgroups.borland.com> <3f0c05da$1@newsgroups.borland.com> <3f0d0be6@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,4970249ff81edaf2 X-Google-Attributes: gid111d45,public X-Google-ArrivalTime: 2003-07-13 00:33:51 PST Message-ID: <3f110569@newsgroups.borland.com> From: pnichols <paul@ comp.net> Subject: Re: change the color of the cell of JTable Newsgroups: borland.public.jbuilder.java.swing Reply-To: paul@comp.net Date: Sun, 13 Jul 2003 03:09:40 -0400 References: <3f0be501@newsgroups.borland.com> <3f0c05da$1@newsgroups.borland.com> <3f0d0be6@newsgroups.borland.com> Lines: 23 Organization: Computer Logic User-Agent: KNode/0.7.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit NNTP-Posting-Host: 68.67.124.111 X-Trace: newsgroups.borland.com 1058080106 68.67.124.111 (13 Jul 2003 00:08:26 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!pln-w!extra.newsguy.com!lotsanews.com!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail